SHChangeNotification_Unlock function (shlobj_core.h)

Unlocks shared memory for a change notification.

Syntax

BOOL SHChangeNotification_Unlock(
  [in] HANDLE hLock
);

Parameters

[in] hLock

Type: HANDLE

A handle to the memory lock. This is the handle returned by SHChangeNotification_Lock when it locked the memory.

Return value

Type: BOOL

Returns TRUE on success; otherwise, FALSE.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlobj_core.h (include Shlobj.h)
Library Shell32.lib
DLL Shell32.dll (version 6.0 or later)
API set ext-ms-win-shell-shell32-l1-2-1 (introduced in Windows 10, version 10.0.10240)