Expand Minimize

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 WINAPI DeregisterShellHookWindow(
  _In_  HWND hWnd
);

Parameters

hWnd [in]

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]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Reference
RegisterShellHookWindow
Conceptual
Windows

 

 

Community Additions

ADD
Show:
© 2014 Microsoft