MCIWndSetRepeat macro (vfw.h)

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

Syntax

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 value

None

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h