Retrieves the x-coordinates and y-coordinates of the window origin for the specified device context
#include <WinAPIGdi.au3>
_WinAPI_GetWindowOrg ( $hDC )
$hDC | Handle to the device context. |
Success: | $tagPOINT structure that contains the coordinates, in logical units, of the window origin. |
Failure: | Sets the @error flag to non-zero. |
Search GetWindowOrgEx in MSDN Library.