IAVIFile::WriteData method
The WriteData method writes file headers. Called when an application uses the AVIFileWriteData function.
Syntax
HRESULT WriteData( PAVISTREAM ps, DWORD fcc, LPVOID lpBuffer, LONG cbBuffer );
Parameters
- ps
-
Pointer to the interface to a file.
- fcc
-
Four-character code of the header to write.
- lpBuffer
-
Pointer to the buffer for the data.
- cbBuffer
-
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
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
See also
Build date: 10/27/2012
