IOCTL_DISK_DEVICE_INFO

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

Parameters

  • 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.

Requirements

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

See Also

Block Drivers | DeviceIoControl | STORAGEDEVICEINFO

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.