Jump to content

WinQueryDesktopWorkArea: Difference between revisions

From EDM2
Created page with "This is used to get the size of the desktop workarea. ==Syntax== retVal = WinQueryDesktopWorkArea(HWND_DESKTOP,&rectlDesktop); ==Parameters== ; HWND hwndDesktop (in..."
 
mNo edit summary
Line 2: Line 2:


==Syntax==
==Syntax==
        retVal = WinQueryDesktopWorkArea(HWND_DESKTOP,&rectlDesktop);  
retVal = WinQueryDesktopWorkArea(HWND_DESKTOP,&rectlDesktop);  


==Parameters==
==Parameters==

Revision as of 05:19, 20 May 2018

This is used to get the size of the desktop workarea.

Syntax

retVal = WinQueryDesktopWorkArea(HWND_DESKTOP,&rectlDesktop); 

Parameters

HWND hwndDesktop (input)
Handle to desktop window.
PWRECT pwrcWorkArea (input)
Pointer to the bounding rectangle. The value must be in the range of -32,767 through 32,767.

Returns

BOOL retVal
Returns Success indicator.
  • TRUE Desktop work area provided.
  • FALSE Desktop work area not provided.

Include Info

       #include <os2.h>