BOOL GetViewportExtEx(hdc, lpSize) | |||
HDC hdc; | |||
SIZE FAR* lpSize; |
The GetViewportExtEx function retrieves the x- and y-extents of the device context's viewport.
hdc
Identifies the device context.
lpSize
Points to a SIZE structure. The x- and y-extents (in device units) are placed in this structure.
The return value is nonzero if the function is successful. Otherwise, it is zero.