win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinQueryObjectWindow (1.2)
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