Edit

Share via


MCIWndPlayFrom macro (vfw.h)

The MCIWndPlayFrom macro plays the content of an MCI device from the specified ___location to the end of the content or until another command stops playback. You can use this macro or explicitly send the MCIWNDM_PLAYFROM message.

Syntax

void MCIWndPlayFrom(
   hwnd,
   lPos
);

Parameters

hwnd

Handle of the MCIWnd window.

lPos

Starting ___location. The units for the starting ___location depend on the current time format.

Return value

None

Remarks

You can also specify both a starting and ending ___location for playback by using the MCIWndPlayFromTo macro.

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