IGetFrame::GetFrame

The GetFrame method retrieves a decompressed copy of a frame from a stream. Called when an application uses the AVIStreamGetFrame function.

LPVOID GetFrame(
  PAVISTREAM ps,  
  LONG lPos       
);
 

Parameters

ps
Address of the interface to a stream.
lPos
Frame to copy and decompress.

Return Values

Returns the address of the decompressed frame data.

Remarks

For handlers written in C++, GetFrame has the following syntax:

LPVOID GetFrame(LONG lPos); 
 

QuickInfo

  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.

See Also

Custom File and Stream Handlers Overview, Custom File and Stream Handler Interfaces, AVIStreamGetFrame