GetShellWindow function (winuser.h)
Retrieves a handle to the Shell's desktop window.
Syntax
HWND GetShellWindow();
Return value
Type: HWND
The return value is the handle of the Shell's desktop window. If no Shell process is present, the return value is NULL.
Requirements
Requirement | Value |
---|---|
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 |
API set | ext-ms-win-ntuser-window-l1-1-0 (introduced in Windows 8) |
See also
Conceptual
Reference