The MCIWndPlayFromTo macro plays a portion of content between specified starting and ending locations. This macro seeks to the specified point to begin playback, then plays the content to the specified ending location. This macro is defined using the MCIWndSeek and MCIWndPlayTo macros, which in turn use the MCI_SEEK command and the MCIWNDM_PLAYTO message.
LONG MCIWndPlayFromTo(
hwnd,
lStart,
lEnd
);
Returns zero if successful or an error otherwise.
The units for the seek position depend on the current time format.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
MCIWnd Window Class Overview, MCIWnd Macros, MCI_SEEK, MCIWNDM_PLAYTO, MCIWndPlayTo, MCIWndSeek