[DllImport("fbwflib.dll", SetLastError=true)]
[return: MarshalAs(UnmanagedType.U4)]
static extern uint FbwfProtectVolume(
[In] [MarshalAs(UnmanagedType.LPWStr)]
string volume);
Declare Function FbwfProtectVolume Lib "fbwflib.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
Code is tested on Windows Embedded Standard 7 32bit.
The "volume" parameter will not accept the "normal" drive letters (e.g. "C:"). It has to be something like this "\Device\HarddiskVolume1\". The right string can be checked using "diskpart".
Please add some!