The ReadData method reads data headers of a stream. Called when an application uses the AVIStreamReadData function.
HRESULT ReadData(
PAVISTREAM ps,
DWORD fcc,
LPVOID lpBuffer,
LONG *lpcbBuffer
);
Returns the HRESULT defined by OLE.
For handlers written in C++, ReadData has the following syntax:
HRESULT ReadData(DWORD fcc, LPVOID lp, LONG *lpcb);
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.
Custom File and Stream Handlers Overview, Custom File and Stream Handler Interfaces, AVIStreamReadData