MCIWndSetRepeat

The MCIWndSetRepeat macro sets the repeat flag associated with continuous playback. You can use this macro or explicitly send the MCIWNDM_SETREPEAT message.

VOID MCIWndSetRepeat(
  hwnd,  
  f      
);
 

Parameters

hwnd
Handle of the MCIWnd window.
f
New state of the repeat flag. Specify TRUE to turn on continuous playback.

Return Values

Returns zero.

Remarks

The MCIWndSetRepeat macro only affects playback that the user initiates by hitting the play button on the toolbar. It will not affect playback started with the MCIWndPlay macro.

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 Macros, MCIWNDM_SETREPEAT, MCIWndPlay