WinQueryDesktopWorkArea

From EDM2
Jump to: navigation, search

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

Syntax

WinQueryDesktopWorkArea(hwndDesktop, pwrcWorkArea)

Parameters

hwndDesktop (HWND) - input
Handle to desktop window.
pwrcWorkArea (PWRECT) - 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>