The MCIWNDM_SETREPEAT message sets the repeat flag associated with continuous playback. The MCIWNDM_SETREPEAT message works in conjunction with the MCI_PLAY command to provide a continuous playback loop. You can send this message explicitly or by using the MCIWndSetRepeat macro.
MCIWNDM_SETREPEAT
wParam = 0;
lParam = (LPARAM) (BOOL) f;
Returns zero.
Currently, MCIAVI is the only device that supports continuous playback.
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, MCI_PLAY, MCIWndSetRepeat