Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>setviewportext</b> set viewport extents http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetViewportExt       Set Viewport Extents

DWORD SetViewportExt(hDC, X, Y)
HDC hDC;
short X; /* In device units */
short Y;

Returns:        Previous values Y in high word, X in low word.

Note:           SetViewportExt calls are ignored when the following
                mapping modes are set:

                |---------------|
                | MM_ENGLISH    |
                | MM_HIMETRIC   |
                | MM_LOWENGLISH |
                | MM_LOMETRIC   |
                | MM_TEXT       |
                | MM_TWIPS      |
                +---------------+


See Also: GetViewportExt

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson