Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IAVIStream::WriteData method

The WriteData method writes headers for a stream. Called when an application uses the AVIStreamWriteData function.

Syntax


HRESULT WriteData(
   PAVISTREAM ps,
   DWORD      fcc,
   LPVOID     lpBuffer,
   LONG       cbBuffer
);

Parameters

ps

Pointer to the interface to a stream.

fcc

Four-character code of the stream header to write.

lpBuffer

Pointer to the buffer that contains the header data to write.

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

Vfw.h

Library

Vfw32.lib

See also

Custom File and Stream Handlers
Custom File and Stream Handler Interfaces

 

 

Community Additions

ADD
Show:
© 2015 Microsoft