DeregisterShellHookWindow function

[This function is not intended for general use. It may be altered or unavailable in subsequent versions of Windows.]

Unregisters a specified Shell window that is registered to receive Shell hook messages.

Syntax

BOOL DeregisterShellHookWindow(
  HWND hwnd
);

Parameters

hwnd

Type: HWND

A handle to the window to be unregistered. The window was registered with a call to the RegisterShellHookWindow function.

Return Value

Type: Type: BOOL

TRUE if the function succeeds; FALSE if the function fails.

Remarks

This function was not included in the SDK headers and libraries until Windows XP with Service Pack 1 (SP1) and Windows Server 2003. If you do not have a header file and import library for this function, you can call the function using LoadLibrary and GetProcAddress.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)
Library User32.lib
DLL User32.dll

See Also

Conceptual

Reference

RegisterShellHookWindow

Windows