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.
LONG MCIWndPlayFrom(
hwnd,
lPos
);
Returns zero if successful or an error otherwise.
You can also specify both a starting and ending location for playback by using the MCIWndPlayFromTo macro.
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, MCIWNDM_PLAYFROM, MCIWndPlayFromTo