The AVIStreamGetFrame function returns the address of a decompressed video frame.
STDAPI_(LPVOID) AVIStreamGetFrame(
PGETFRAME pgf,
LONG lPos
);
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: 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.
AVIFile Functions and Macros Overview, AVIFile Functions, AVIStreamGetFrameClose