Function Reference


Retrieves the x-extent and y-extent of the window for the specified device context

#include <WinAPIGdi.au3>
_WinAPI_GetWindowExt ( $hDC )


$hDC Handle to the device context.

Return Value

Success: $tagSIZE structure that contains the x- and y-extents in page-space units, that is, logical units.
Failure: Sets the @error flag to non-zero, call _WinAPI_GetLastError() to get extended error information.

See Also

Search GetWindowExtEx in MSDN Library.