DeviceIoControl returning false

Posted by Anand on Stack Overflow See other posts from Stack Overflow or by Anand
Published on 2010-01-15T16:06:44Z Indexed on 2010/05/13 23:04 UTC
Read the original article Hit count: 236

Filed under:
|
|

In my C# code,DeviceIoControl is returning false,the handle is correct

DeviceIoControl(deviceHandle,
  IOCTL_STORAGE_GET_DEVICE_NUMBER,
  IntPtr.Zero,
  0,
  OutBuffPtr,//&psdn,
  OutBuffSize,
  ref dwBytesReturned,
   IntPtr.Zero);

© Stack Overflow or respective owner

Related posts about c#

Related posts about interop