The FindCloseChangeNotification function stops change notification handle monitoring.
BOOL FindCloseChangeNotification(
HANDLE hChangeHandle |
// handle to change notification to close |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
After the FindCloseChangeNotification function is called, the handle specified by the hChangeHandle parameter cannot be used in subsequent calls to either the FindNextChangeNotification or FindCloseChangeNotification function.
Change notifications can also be used in the wait functions.