bool get_window_origin(handle device, ipoint* origin)
This function obtains the origin of the window for the device context.
The handle of the device context.
A pointer to a point that is updated to hold the origin of the window.
|The function succeeded.
|The call failed.
The window origin is measured in page units.