How to make a riff

broken image
broken image
broken image
broken image

If you know the size of the data field in a new chunk, you can set the cksize member of the MMCKINFO structure when you create the chunk. In the previous example, 'RDIB' is the form type. If you are creating a 'RIFF' or 'LIST' chunk, you must specify the form type or list type in the fccType member of the MMCKINFO structure. MmioCreateChunk(hmmio, &mmckinfo, MMIO_CREATERIFF) Mmckinfo.fccType = mmioFOURCC('R', 'D', 'I', 'B') The following example uses the mmioCreateChunk function to create a chunk with a chunk identifier of 'RIFF' and a form type of 'RDIB'.