Export (0) Print
Expand All
Expand Minimize

GetViewportExtEx

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function retrieves the x-extent and y-extent of the current viewport for the specified device context.


GetViewportExtEx(
  HDC hdc, 
  LPSIZE lpSize
);

hdc

[in] Handle to the device context.

lpSize

[out] Pointer to a SIZE structure that receives the x- and y-extents, in device units.

A nonzero value indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Headerwindows.h
Librarycoredll.lib
Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

ADD
Show:
© 2014 Microsoft