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.
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.
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.
Minimum DLL Version
Declared in Winuser.h, include Windows.h
Minimum operating systems
Implemented as ANSI and Unicode versions.
Windows Overview, RegisterShellHookWindow