GetViewportExtEx

3.1

  BOOL GetViewportExtEx(hdc, lpSize)    
  HDC hdc;    
  SIZE FAR* lpSize;    

The GetViewportExtEx function retrieves the x- and y-extents of the device context's viewport.

Parameters

hdc

Identifies the device context.

lpSize

Points to a SIZE structure. The x- and y-extents (in device units) are placed in this structure.

Return Value

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