MCIWNDM_SETREPEAT

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; 

Parameters

f

New state of the repeat flag. Specify TRUE to turn on continuous playback.

Return Values

Returns zero.

Remarks

Currently, MCIAVI is the only device that supports continuous playback.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.

See Also

MCI_PLAY, MCIWndSetRepeat