Corneliu I. Tusnea
March 30th, 1999, 06:58 AM
Hi,
Could anyone help me with the following problem:
I try to listen some file activity in a directory.
I use "CreateIoCompletionPort" to create a completition port.
Using that port I register myself with "ReadDirectoryChangesW" to receive notification in case of file activity.
I get the notification using: "GetQueuedCompletionStatus"
Why do I always get 2 notifications if a file is was chaged. ?
When registering "ReadDirectoryChangesW" I use only: FILE_NOTIFY_CHANGE_LAST_WRITE.
Thanks in Advance,
Corneliu.
Could anyone help me with the following problem:
I try to listen some file activity in a directory.
I use "CreateIoCompletionPort" to create a completition port.
Using that port I register myself with "ReadDirectoryChangesW" to receive notification in case of file activity.
I get the notification using: "GetQueuedCompletionStatus"
Why do I always get 2 notifications if a file is was chaged. ?
When registering "ReadDirectoryChangesW" I use only: FILE_NOTIFY_CHANGE_LAST_WRITE.
Thanks in Advance,
Corneliu.