INFO (CD/XA Commands)
Appearance
The INFO command fills a user-supplied buffer with information.
Syntax
info object keywords
Syntax Diagram
INFO ──── object ────┬─ ID ──────┬───┬──────────┬────┤ ├─ PRODUCT ─┤ ├─ WAIT ───┤ └─ UPC ─────┘ └─ NOTIFY ─┘
Parameters
- object
- Object associated with this media control interface command. The object can be one of the following:
- Device type
- Device name
- Filename
- Alias
- ID
- Returns the disc ID if the device supports this function, otherwise, it returns 0. The value returned is a binary value.
- PRODUCT
- Returns the product name and model of the current audio device.
- UPC
- Returns the disc UPC code (serial number) if the device supports this function, otherwise, it returns 0. The value returned is a binary value.
- WAIT
- The command is executed synchronously. The function waits until the requested action is complete before returning to the application.
- NOTIFY
- The command is executed asynchronously, allowing control to be returned immediately to the application. When the requested action is complete, an MM_MCINOTIFY message is sent to the application window procedure.
Example Code
info cdxa product wait