This topic has not yet been rated Rate this topic

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: 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

Minimum supported server

Windows 2000 Server

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Reference
RegisterShellHookWindow
Conceptual
Windows

 

 

Send comments about this topic to Microsoft

Build date: 9/11/2011

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