AVIStreamGetFrame
The AVIStreamGetFrame function returns the address of a decompressed video frame.
STDAPI_(LPVOID) AVIStreamGetFrame(
PGETFRAME pgf,
LONG lPos
);
Parameters
pgf
Pointer to a GetFrame object.
lPos
Position, in samples, within the stream of the desired frame.
Return Values
Returns a pointer to the frame data if successful or NULL otherwise. The frame data is returned as a packed DIB.
Remarks
The returned frame is valid only until the next call to this function or the AVIStreamGetFrameClose function.
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
AVIFile Functions and Macros, AVIFile Functions, AVIStreamGetFrameClose