Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IGetFrame::Begin method

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(
  PAVISTREAM ps,
  LONG lStart,
  LONG lEnd,
  LONG lRate
);

Parameters

ps

Pointer to the interface to a stream.

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

Library

Vfw32.lib

See also

Custom File and Stream Handlers
Custom File and Stream Handler Interfaces

 

 

Community Additions

Show:
© 2014 Microsoft