AVI File Write Data function (AVIFileWriteData)

'AVIFileWriteData function writes supplementary data (other than normal header, format, and stream data) to the file.
Private Declare Function AVIFileWriteData Lib "avifil32.dll" (ByVal pfile As Integer, ByVal ckid As Integer, ByVal lpData As Long, ByVal cbData As Long)as long
'Parameters
'   pfile Handle to an open AVI file.
'   ckid RIFF chunk identifier (four-character code) of the data.
'   lpData Pointer to the buffer used to write the data.
'   cbData Size, in bytes, of the memory block referenced by lpData.
'Return Values

Returns zero if successful or an error otherwise. In an application has read-only access to the file, the error code AVIERR_READONLY is returned.

Remarks

Use the AVIStreamWriteData function to write data that applies to an individual stream.
The argument pfile is a pointer to an IAVIFile interface.

Copyright 2004-2010 Excalibur software Solutions All rights reserved

Note: Any unsolicited email sent to Excalibur Software Solutions or any members of Excalibur Software Solutions, will be archived and a fee of $5.00 dollars US per email per month will be charged to the content owner of said email. The Content Owner must inform Excalibur Software Solutions in writing; they no longer require archive services for each email archived within 30 days of cancelation. The content holder is defined as the entities represented in email regardless of sender. The sender is the representative of the content holder.