Function Reference


_WinAPI_GetClipBox

Retrieves the dimensions of the bounding rectangle of the visible area

#include <WinAPIGdi.au3>
_WinAPI_GetClipBox ( $hDC, ByRef $tRECT )

Parameters

$hDC Handle to the device context.
$tRECT $tagRECT structure that is created by this function, and contains the rectangle dimensions, in logical units.

Return Value

Success: The value that specifies the region's complexity; it can be one of the following values.
$COMPLEXREGION
$NULLREGION
$SIMPLEREGION
Failure: 0.

See Also

Search GetClipBox in MSDN Library.