Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

SHChangeNotifyDeregister function

Unregisters the client's window process from receiving SHChangeNotify messages.

Syntax


BOOL SHChangeNotifyDeregister(
   ULONG ulID
);

Parameters

ulID

Type: ULONG

A value of type ULONG that specifies the registration ID returned by SHChangeNotifyRegister.

Return value

Type: BOOL

Returns TRUE if the specified client was found and removed; otherwise FALSE.

Remarks

See the Change Notify Watcher Sample in the Windows Software Development Kit (SDK) for a full example that demonstrates the use of this function.

The NTSHChangeNotifyDeregister function, which is no longer available for use as of Windows Vista, was equivalent to SHChangeNotifyDeregister.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 5.0 or later)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft