GetViewportOrgEx

3.1

  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.

Parameters

hdc

Identifies the device context.

lpPoint

Points to a POINT structure. The origin of the viewport (in device coordinates) is placed in this structure.

Return Value

The return value is nonzero if the function is successful. Otherwise, it is zero.