Windows Media Player 11 SDK IWMPEvents::CdromMediaChange
The CdromMediaChange event occurs when a CD or DVD is inserted into or ejected from a CD or DVD drive.
void CdromMediaChange( long CdromNum );
[in] Specifies the index of the CD or DVD drive.
This event does not return a value.
The index of the CD drive corresponds to the index of a Cdrom object in the IWMPCdromCollection interface.
Windows Media Player 10 Mobile: This event is not supported.
Version: Windows Media Player 9 Series or later.
Header: Include wmp.h.
Library: Use wmp.dll.