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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

MCIWnd Window Class Overview, MCIWnd Messages, MCI_PLAY, MCIWndSetRepeat