hanonymouss
Gebruiker
- Lid geworden
- 7 sep 2011
- Berichten
- 283
Hallo allemaal,
Ik wil graag dat ik mijn usb formateer.
Met deze api:
[CPP] Declare Function SHFormatDrive Lib "shell32" (ByVal hwndOwner As Long, ByVal iDrive As Long, ByVal iCapacity As Long, ByVal iFormatType As Long) As Long
Const SHFD_FORMAT_QUICK = 0
SHFormatDrive Me.hwnd, 0, SHFD_CAPACITY_DEFAULT, SHFD_FORMAT_QUICK
[/CPP]
Ik weet dat de nul voor een schijf nummer staat bv: A:\
Hoe kun je de api best gebruiken ,
Ik wil graag dat ik mijn usb formateer.
Met deze api:
[CPP] Declare Function SHFormatDrive Lib "shell32" (ByVal hwndOwner As Long, ByVal iDrive As Long, ByVal iCapacity As Long, ByVal iFormatType As Long) As Long
Const SHFD_FORMAT_QUICK = 0
SHFormatDrive Me.hwnd, 0, SHFD_CAPACITY_DEFAULT, SHFD_FORMAT_QUICK
[/CPP]
Ik weet dat de nul voor een schijf nummer staat bv: A:\
Hoe kun je de api best gebruiken ,