Index   Commented   Search   About

MCIWndPlayFromTo

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

);

Parameters

hwnd

Handle of the MCIWnd window.

lStart

Position to seek; it is also the starting location.

lEnd

Ending location.

Return Values

Returns zero if successful or an error otherwise.

Remarks

The units for the seek position depend on the current time format.

See Also

MCI_SEEK
, MCIWNDM_PLAYTO, MCIWndPlayTo, MCIWndSeek

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun