IGetFrame::Begin method (vfw.h)
The Begin method prepares to extract and decompress copies of frames from a stream. Called when an application uses the AVIStreamGetFrameOpen function.
Syntax
HRESULT Begin(
LONG lStart,
LONG lEnd,
LONG lRate
);
Parameters
lStart
Starting frame for extracting and decompressing.
lEnd
Ending frame for extracting and decompressing.
lRate
Speed at which the file is read relative to its normal playback rate. Normal speed is 1000. Larger values indicate faster speeds; smaller values indicate slower speeds.
Return value
Returns the HRESULT defined by OLE.
Remarks
For handlers written in C++, Begin has the following syntax:
HRESULT Begin(LONG lStart, LONG lEnd, LONG lRate);
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | vfw.h |
Library | Vfw32.lib |