The mmioDescend function descends into a chunk or searches for a chunk, beginning at the current file position. The mmioDescend function requires a pckinfo parameter, which specifies a pointer to a MMCKINFO structure that mmioDescend fills with information on the current chunk. You can also specify the pckinfoParent parameter, which specifies an optional caller-supplied structure that refers to the parent of the chunk that is being searched for. If there is no parent chunk, set pckinfoParent to NULL.
The usFlags parameter specifies options for searching for a chunk. Choose from the following options:
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Flag ³Description ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³MMIO_FINDCHUNK ³Searches for a chunk with a ³ ³ ³specific chunk ID. The ckid field ³ ³ ³pckinfo should contain the chunk ID³ ³ ³of the chunk to search for when ³ ³ ³mmioDescend is called. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³MMIO_FINDRIFF ³Searches for a chunk with a RIFF ³ ³ ³chunk ID and with a specific form ³ ³ ³type. The fccType field of pckinfo³ ³ ³should contain the form type of the³ ³ ³RIFF chunk to search for when ³ ³ ³mmioDescend is called. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³MMIO_FINDLIST ³Searches for a chunk with a chunk ³ ³ ³ID of LIST and with a specific list³ ³ ³type. The fccType field of pckinfo³ ³ ³should contain the list type of the³ ³ ³LIST chunk to search for when ³ ³ ³mmioDescend is called. ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Note: If you do not specify any flags, mmioDescend descends into the chunk that starts at the current file position.
The mmioDescend function fills an MMCKINFO structure with information on the chunk. This information includes the chunk ID (ckid), the size of the data field (ckSize), and the form type, or list type, depending on whether the chunk is a RIFF or LIST chunk. The mmioDescend function assumes that the current file position is the beginning of a chunk header when mmioDescend is called. If pckinfoParent is given, mmioDescend assumes that the current file position is within pckinfoParent (a RIFF or LIST chunk).