Expand Minimize
0 out of 1 rated this helpful - Rate this topic

GetShellWindow function

Retrieves a handle to the Shell's desktop window.

Syntax


HWND WINAPI GetShellWindow(void);

Parameters

This function has no parameters.

Return value

Type:

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

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
GetDesktopWindow
GetWindow
Conceptual
Windows

 

 

Send comments about this topic to Microsoft

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.