Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MCIWndPlayTo macro

The MCIWndPlayTo macro plays the content of an MCI device from the current position to the specified ending location or until another command stops playback. If the specified ending location is beyond the end of the content, playback stops at the end of the content. You can use this macro or explicitly send the MCIWNDM_PLAYTO message.

Syntax


LONG MCIWndPlayTo(
   hwnd,
   lPos
);

Parameters

hwnd

Handle of the MCIWnd window.

lPos

Ending location. The units for the ending location depend on the current time format.

Return value

Returns zero if successful or an error otherwise.

Remarks

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

 

 

Community Additions

Show:
© 2014 Microsoft