Discuz! Board

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1019|回复: 0
打印 上一主题 下一主题

文件变化监控ReadDirectoryChanges APC

[复制链接]

1228

主题

1996

帖子

7570

积分

认证用户组

Rank: 5Rank: 5

积分
7570
跳转到指定楼层
楼主
发表于 2021-8-9 13:51:32 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式



APC是“异步过程调用(Asyncroneus Procedure Call)”的缩写


https://blog.csdn.net/qq229596421/article/details/77828647






// This call needs to be reissued after every APC.
        BOOL success = ::ReadDirectoryChangesW(
                m_hDirectory,                                                // handle to directory
                &m_Buffer[0],                       // read results buffer
                m_Buffer.size(),                    // length of buffer
                m_bIncludeChildren,                 // monitoring option
                m_dwFilterFlags,                    // filter conditions
                &dwBytes,                           // bytes returned
                &m_Overlapped,                      // overlapped buffer
                &NotificationCompletion);           // completion routine

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|firemail ( 粤ICP备15085507号-1 )

GMT+8, 2024-4-20 20:36 , Processed in 0.054285 second(s), 19 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表