DWORD GetDCOrg(hdc) | |||||
HDC hdc; | /* device-context handle | */ |
The GetDCOrg function obtains the final translation origin for the device context. The final translation origin specifies the offset used by Windows to translate device coordinates into client coordinates for points in an application's window. The final translation origin is relative to the physical origin of the screen display.
hdc
Identifies the device context whose origin is to be retrieved.
The return value specifies the final translation origin (in device coordinates). The y-coordinate is in the high-order word; the x-coordinate is in the low-order word.
CreateIC