Share via


IOCTL_CDROM_DISC_INFO (Windows CE 5.0)

Send Feedback

This IOCTL retrieves disk information to fill the CDROM_DISCINFO structure. The DeviceIoControl function processes this IOCTL.

Parameters

  • dwIoControlCode
    [in] Set to IOCTL_CDROM_DISC_INFO to retrieve disk information and fill the CDROM_DISCINFO structure.
  • lpInBuf
    [in] Set to NULL.
  • nInBufSize
    [in] Set to zero.
  • lpOutBuf
    [in, out] On input, set to the address of an allocated CDROM_DISCINFO structure. This is the memory needed for the structure and information storage. On output, a filled CDROM_DISCINFO structure.
  • nOutBufSize
    [in] Set to the size of the CDROM_DISCINFO.
  • lpBytesReturned
    [in, out] On input, address of a DWORD that receives the size in bytes of the data returned. On output, set to the number of bytes written to the supplied buffer.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To obtain extended error information, call GetLastError.

Requirements

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

See Also

Block Drivers | CDROM_DISCINFO | DeviceIoControl

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.