mmioDescend这个函数啊??

getoneking 2008-11-08 05:00:30
[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呢?

...全文
298 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
gton08 2009-02-11
  • 打赏
  • 举报
回复
UP

8,307

社区成员

发帖
与我相关
我的任务
社区描述
游戏开发相关内容讨论专区
社区管理员
  • 游戏开发
  • 呆呆敲代码的小Y
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧