Group: Windows Multimedia - Library: winmm
The mmioCreateChunk function creates a chunk in a RIFF file that was opened by using the mmioOpen function.
Class for sound recording
Changing pitch and speed of a wave file
Adding supplementary data to AVI files
MMRESULT mmioCreateChunk(
HMMIO hmmio,
LPMMCKINFO lpck,
UINT wFlags
);
DECLARE INTEGER mmioCreateChunk IN winmm;
INTEGER hmmio,;
STRING @ lpck,;
INTEGER wFlags
hmmio File handle of an open RIFF file.
lpck Pointer to a buffer that receives a MMCKINFO structure containing information about the chunk to be created.
wFlags Flags identifying what type of chunk to create.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.
The new chunk is created at the current file position. After the new chunk is created, the current file position is the beginning of the data portion of the new chunk.