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