IAVIStream::WriteData method (vfw.h)
The WriteData method writes headers for a stream. Called when an application uses the AVIStreamWriteData function.
Syntax
HRESULT WriteData(
DWORD fcc,
LPVOID lp,
LONG cb
);
Parameters
fcc
Four-character code of the stream header to write.
lp
Pointer to the buffer that contains the header data to write.
cb
Size, in bytes, of the buffer specified by lpBuffer.
Return value
Returns the HRESULT defined by OLE.
Remarks
For handlers written in C++, WriteData has the following syntax:
HRESULT WriteData(DWORD fcc, LPVOID lpBuffer, LONG cbBuffer);
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | vfw.h |
Library | Vfw32.lib |