Device Manage for OS/2

DevCon for OS/2 - Developer Connection

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
eComStation myths 

(Unsorted)  
 
 
Compilers  
 
 
Tools  
 
 
REXX  
 
 
Drivers/kernel  
 
 

 

 

WinQueryDesktopWorkArea()

source: wiki.netlabs.org

Usage:

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>

Usage Explanation:

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

 


 

(C) OS2.GURU 2001-2024