C++ WinApi: ReadDirectoryChangesW() Receiving Double Notifications

前端 未结 2 1442
太阳男子
太阳男子 2021-01-03 23:36

I try to understand ReadDirectoryChangesW function so I can be effectively informed on change of content in several directories (files overwrit

2条回答
  •  遥遥无期
    2021-01-03 23:52

    This is the result operation of the running code simultaneously with the procmon logging after file save in notepad. There are two notifies from ReadDirectoryChangesW() and two notifies from procmon. 2 IRP_MJ_WRITE 1 from Notepad (WriteFile) 1 from System Cache Manager (CcWriteBehind) procmon

提交回复
热议问题