Share via


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

Pointer to 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); 
 

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.
**  Library:** Use Vfw32.lib.

See Also

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