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