BOOL GetViewportOrgEx(hdc, lpPoint) | |||
HDC hdc; | |||
POINT FAR* lpPoint; |
The GetViewportOrgEx function retrieves the x- and y-coordinates of the origin of the viewport associated with the specified device context.
hdc
Identifies the device context.
lpPoint
Points to a POINT structure. The origin of the viewport (in device coordinates) is placed in this structure.
The return value is nonzero if the function is successful. Otherwise, it is zero.