firemail
标题:
文件变化监控ReadDirectoryChanges APC
[打印本页]
作者:
Qter
时间:
2021-8-9 13:51
标题:
文件变化监控ReadDirectoryChanges APC
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
欢迎光临 firemail (http://firemail.wang:8088/)
Powered by Discuz! X3