Group: Windows Multimedia - Library: avifil32
Adding supplementary data to AVI files
STDAPI AVIFileWriteData(
PAVIFILE pfile,
DWORD ckid,
LPVOID lpData,
LONG cbData
);
DECLARE INTEGER AVIFileWriteData IN avifil32;
INTEGER pfile,;
LONG ckid,;
STRING @ lpData,;
LONG cbData
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.
Returns zero if successful or an error otherwise.
Use the AVIStreamWriteData function to write data that applies to an individual stream.