c# - DeviceIoControl returning false -


in c# code,deviceiocontrol returning false,the handle correct

deviceiocontrol(devicehandle,   ioctl_storage_get_device_number,   intptr.zero,   0,   outbuffptr,//&psdn,   outbuffsize,   ref dwbytesreturned,    intptr.zero); 

there not lot of data here go on, marshal.getlastwin32error() should give more specific error information.


Comments

Popular posts from this blog

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -