Share via


IOCTL_DISK_GETINFO (Windows Embedded CE 6.0)

1/6/2010

This IOCTL notifies block device drivers to return disk information. The DeviceIoControl function processes this IOCTL.

Parameters

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

Return Values

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

IOCTL_DISK_GETINFO replaces the deprecated DISK_IOCTL_GETINFO. DISK_IOCTL_GETINFO used the input buffer for output.

Remarks

In Windows CE 3.0, this IOCTL was changed from DISK_IOCTL_GETINFO to IOCTL_DISK_GETINFO.

Requirements

Header diskio.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Block Driver IOCTLs
DeviceIoControl
DISK_INFO

Other Resources

Block Drivers