Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Show:
© 2015 Microsoft