DeregisterShellHookWindow

Unregisters a specified Shell window that is registered to receive Shell hook messages. It unregisters windows that are registered with a call to the RegisterShellHookWindow function.

Syntax,Remarks,Function Information,

Syntax

BOOL DeregisterShellHookWindow(
HWND hWnd);Parameters
hWnd[in] Handle to the window to unregister from receiving Shell hook messages. Return Value
TRUE if the function succeeds; FALSE if the function fails.

Remarks

Although you can access this function by using LoadLibrary and GetProcAddress combined in Microsoft Windows versions prior to Windows XP, the function is not accessible using the standard Include file and library linkage. The header files included in Windows XP Service Pack 1 (SP1) and Windows Server 2003 document this function and make it accessible using the appropriate Include file and library linkage. However, this function is not intended for general use. It is recommended that you do not use it in new programs because it might be altered or unavailable in subsequent versions of Windows.

Function Information

Minimum DLL Version
user32.dll
Header
Declared in Winuser.h, include Windows.h
Import library
User32.lib
Minimum operating systems
Windows 2000
Unicode
Implemented as ANSI and Unicode versions.
See Also
Windows Overview, RegisterShellHookWindow

相關詞條

熱門詞條

聯絡我們