mmioDescend这个函数啊??
[code=C/C++]
MMCKINFO mmCkInfo ;
MMCKINFO ckIn ;
mmioDescend(hMMIO,&mmCkInfo,NULL,0); // 1行
ckIn.ckid = mmioFOURCC( 'f', 'm', 't', ' ' );
mmioDescend( hMMIO, &ckIn, &mmCkInfo, MMIO_FINDCHUNK ) ; // 2行
// mmioDescend( hMMIO, &ckIn, NULL, 0 ) ; // 3行
/code]
"mmioDescend"这个函数的第3个参数如何理解和运用呢?
当我将2行换成3行时ckIn这个变量的值是不变的,帮助文档上说:
If this parameter is not NULL, mmioDescend assumes the MMCKINFO structure it refers to was filled when mmioDescend was called to descend into the parent chunk, and mmioDescend searches for a chunk within the parent chunk.
这句话“mmioDescend searches for a chunk within the parent chunk.”如何理解?应该不是数据块里还有数据块吧,是不是在parent chunk之后查找chunk呢?