The MCIWNDM_GETREPEAT message determines if continuous playback has been activated. You can send this message explicitly or by using the MCIWndGetRepeat macro.
MCIWNDM_GETREPEAT
wParam = 0;
lParam = 0;
Returns TRUE if continuous playback is activated 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, MCIWndGetRepeat