Writing to a File
You can write supplementary information to a file that has been opened with write privileges by using the AVIFileWriteData function. This function copies the information from an application-supplied buffer and places it in one or more chunks in the file. The "INFO" chunk is a common RIFF chunk type in which the function stores supplementary information. For a description of RIFF files and their data chunks, see Resource Interchange File Format Services.