1 out of 2 rated this helpful - Rate this topic

FindCloseChangeNotification function

Applies to: desktop apps only

Stops change notification handle monitoring.

Syntax

BOOL WINAPI FindCloseChangeNotification(
  __in  HANDLE hChangeHandle
);

Parameters

hChangeHandle [in]

A handle to a change notification handle created by the FindFirstChangeNotification function.

Return value

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.

Remarks

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.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

FileAPI.h (include Windows.h);
WinBase.h on Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

Directory Management Functions
FindFirstChangeNotification
FindNextChangeNotification

 

 

Send comments about this topic to Microsoft

Build date: 4/17/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ