Microsoft Windows CE 3.0  


This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This IOCTL reads scatter buffers from the CD-ROM and the information is stored in the CDROM_READstructure. The DeviceIoControlfunction calls this IOCTL.


Set to IOCTL_CDROM_DISC_INFO to retrieve disc information and fill the CDROM_DISCINFO structure.
Set to NULL.
Set to 0.
In - Set to the address of an allocated CDROM_DISCINFO structure. This is the memory needed for the structure and info storage.

Out – Filled in CDROM_DISCINFO structure.

Set to the size of the CDROM_DISCINFO plus memory for the Ids.
In – Address of a DWORD that receives the size in bytes of the data returned.

Out – Set to the number of bytes written to the supplied buffer.

Return Values

If the function succeeds, the return value is a nonzero value.

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

 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.