Function Reference


Obtains the current accumulated bounding rectangle for a specified device context

#include <WinAPIGdi.au3>
_WinAPI_GetBoundsRect ( $hDC [, $iFlags = 0] )


$hDC Handle to the device context whose bounding rectangle the function will return.
$iFlags [optional] The flags that specifies how the function will behave. This parameter can be the following value:

Return Value

Success: $tagRECT structure that contains the current bounding rectangle, @extended flag will contain the value specifies the state of the accumulated bounding rectangle ($DCB_*).
Failure: Sets the @error flag to non-zero.

See Also

Search GetBoundsRect in MSDN Library.