Share via


Send Feedback

This IOCTL returns storage information to block device drivers. The DeviceIoControl function processes this IOCTL.


  • hDevice
    [in] Set to a handle to a block device.
  • dwIoControlCode
    [in] Specifies this IOCTL.
  • lpInBuffer
    [in] Pointer to a STORAGEDEVICEINFO structure.
  • nInBufferSize
    [in] Specifies the size of the STORAGEDEVICEINFO structure.
  • lpOutBuffer
    Not used.
  • nOutBufferSize
    Not used.
  • lpBytesReturned
    [out] Pointer to a DWORD to receive the total number of bytes returned.
  • lpOverlapped
    Not used.

Return Values

If returns TRUE, the IOCTL was successfully processed; otherwise, returns FALSE.


OS Versions: Windows CE .NET 4.0 and later.
Header: Diskio.h.

See Also

Block Drivers | DeviceIoControl | STORAGEDEVICEINFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.