The Begin method prepares to extract and decompress copies of frames from a stream. Called when an application uses the AVIStreamGetFrameOpen function.
HRESULT Begin(
PAVISTREAM ps,
LONG lStart,
LONG lEnd,
LONG lRate
);
Returns the HRESULT defined by OLE.
For handlers written in C++, Begin has the following syntax:
HRESULT Begin(LONG lStart, LONG lEnd, LONG lRate);
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Import Library: Use vfw32.lib.
Custom File and Stream Handlers Overview, Custom File and Stream Handler Interfaces, AVIStreamGetFrameOpen