Share via


IOCTL_DISK_DEVICE_INFO

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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

Parameters

  • hDevice
    [in] Set to a handle to a block device.
  • dwIoControlCode
    [in] Specifies this IOCTL.
  • 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.

Requirements

Header diskio.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

DeviceIoControl

Other Resources

Block Drivers
STORAGEDEVICEINFO