The MCIWNDM_CAN_PLAY message determines if an MCI device can play a data file or content of some other kind. You can send this message explicitly or by using the MCIWndCanPlay macro.
MCIWNDM_CAN_PLAY
wParam = 0;
lParam = 0;
Returns TRUE if the device supports playing the data or FALSE otherwise.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
MCIWnd Window Class Overview, MCIWnd Messages, MCIWndCanPlay