Export (0) Print
Expand All
Expand Minimize

MCIWNDM_PLAYTO message

The MCIWNDM_PLAYTO message 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 send this message explicitly or by using the MCIWndPlayTo macro.



MCIWNDM_PLAYTO 
wParam = 0; 
lParam = (LPARAM) (LONG) lEnd; 


Parameters

lEnd

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

This macro is defined using the MCIWndSeek and MCIWndPlayTo macros, which in turn use the MCI_SEEK command and the MCIWNDM_PLAYTO message.

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

See also

MCI_SEEK
MCIWndPlayFromTo
MCIWndPlayTo
MCIWndSeek

 

 

Community Additions

ADD
Show:
© 2014 Microsoft