WM_APCSYSMSG_MEDIASTATECHANGE

This message is sent when the state of a media device changes.

Parameters

wParam
The high-order word contains the media type. It is one of the following values:
Media type
Value
APC_MEDIATYPE_CD 1

The low-order word contains the notification flags. It may be a combination of the following values:
Notification flag
Value
APC_FLAG_MEDIAINSERT 0x0001
APC_FLAG_MEDIAHASAUDIO 0x0010
APC_FLAG_MEDIAHASDATA 0x0020

lParam
The high-order word contains the device generating the notification. It is one of the following values:
Device generating notification
Value
APC_MEDIADEVICE_DASHCD 0
APC_MEDIADEVICE_CHANGER1 1
APC_MEDIADEVICE_CHANGER2 2
APC_MEDIADEVICE_CHANGER3 3
APC_MEDIADEVICE_CHANGER4 4

The low-order word contains device-specific information.

See Also

HIWORD, LOWORD