Index   Commented   Search   About

IAVIStream::WriteData

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

HRESULT WriteData (

PAVISTREAM ps,

DWORD fcc,

LPVOID lpBuffer,

LONG cbBuffer

);

Parameters

ps

Address of the interface to a stream.

fcc

Four-character code of the stream header to write.

lpBuffer

Address of the buffer that contains the header data to write.

cbBuffer

Size, in bytes, of the buffer specified by lpBuffer.

Return Values

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);

See Also

AVIStreamWriteData

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun