◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINMESSAGEMGR HWND WinQueryObjectWindow(hwndDesktop) HWND hwndDesktop; /* handle of the desktop */ The WinQueryObjectWindow function returns the desktop object-window handle. Parameter Description ──────────────────────────────────────────────────────────────────────────── hwndDesktop Identifies the desktop window. This parameter can be HWND_DESKTOP or the desktop window handle. Return Value The return value is the desktop object-window handle, or NULL if an error occurs. Comments For most API calls the constant HWND_OBJECT can be used for the desktop object-window handle. See Also WinQueryDesktopWindow ♦