However, these functions do not indicate the actual change that satisfied the wait condition. If the wait condition is satisfied, FindNextChangeNotification can be used to provide a notification handle to wait on subsequent changes. This function also returns a handle that can be waited on by using the wait functions. The conditions include changes to file names, directory names, attributes, file size, time of last write, and security. For example, an application can use these functions to update a directory listing whenever a file name within the monitored directory changes.Īn application can specify a set of conditions that trigger a change notification by using the FindFirstChangeNotification function. When something changes within the directory being watched, the read operation is completed. Waiting for a change notification is similar to having a read operation pending against a directory and, if necessary, its subdirectories. An application can monitor the contents of a directory and its subdirectories by using change notifications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |