Export (0) Print
Expand All

FindCloseChangeNotification function

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.

In Windows 8 and Windows Server 2012, this function is supported by the following technologies.

TechnologySupported

Server Message Block (SMB) 3.0 protocol

Yes

SMB 3.0 Transparent Failover (TFO)

Yes

SMB 3.0 with Scale-out File Shares (SO)

Yes

Cluster Shared Volume File System (CsvFS)

See remark

Resilient File System (ReFS)

Yes

 

Application might experience false positives on CsvFs pause/resume.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft