Share via


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.

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

MCIWNDM_SETREPEAT, MCIWndPlay