This topic has not yet been rated - Rate this topic

SHChangeNotifyDeregister function

Applies to: desktop apps only

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

Minimum supported server

Windows Server 2003

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 5.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

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