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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -