The GetGraphicsMode function retrieves the current graphics mode for the specified device context.
int GetGraphicsMode(
HDC hdc |
// handle of device context |
); |
If the function succeeds, the return value is the current graphics mode. It can be one of the following values:
Value |
Meaning |
GM_COMPATIBLE |
The current graphics mode is the compatible graphics mode, a mode that is compatible with Windows version 3.1. In this graphics mode, an application cannot set or modify the world transformation for the specified device context. The compatible graphics mode is the default graphics mode. |
GM_ADVANCED |
Windows NT: The current graphics mode is the advanced graphics mode, a mode that allows world transformations. In this graphics mode, an application can set or modify the world transformation for the specified device context. Windows 95: The GM_ADVANCED value is not supported. |
Otherwise, the return value is zero. To get extended error information, call GetLastError.
An application can set the graphics mode for a device context by calling the SetGraphicsMode function.
file: /Techref/os/win/api/win32/func/src/f32_14.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/23 20:10,
3.137.164.229:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/os/win/api/win32/func/src/f32_14.htm"> GetGraphicsMode</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.