网站首页  词典首页

请输入您要查询的函数:

 

术语 getgraphicsmode
释义 GetGraphicsMode
语法:
int GetGraphicsMode(
__in HDC hdc
);
GetGraphicsMode功能
该GetGraphicsMode函数检索指定的设备环境的当前图形模式。
参数
hdc [in]
一个句柄,设备上下文。
返回值
如果函数成功,返回值是当前图形模式。它可以是下列值之一。
ValueMeaning
GM_COMPATIBLEThe模式电流兼容的图形是图形模式,一种方式,与16位Windows兼容。在这个图形模式,应用程序不能设置或修改为指定的设备上下文世界的改造。兼容的图形模式是默认的图形模式。
GM_ADVANCEDThe模式电流的图形是先进的图形模式,一个模式,让世界的转变。在这个图形模式,应用程序可以设置或修改为指定的设备上下文世界的改造。
否则,返回值是零。
备注
应用程序可以为设备上下文通过调用SetGraphicsMode函数图形模式。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
坐标空间和转换概述
坐标空间与变换函数
SetGraphicsMode
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetGraphicsMode Function
The GetGraphicsMode function retrieves the current graphics mode for the specified device context.
Syntax
int GetGraphicsMode(
__in HDC hdc
);
Parameters
hdc [in]
A handle to the device context.
Return Value
If the function succeeds, the return value is the current graphics mode. It can be one of the following values.
ValueMeaning
GM_COMPATIBLEThe current graphics mode is the compatible graphics mode, a mode that is compatible with 16-bit Windows. 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_ADVANCEDThe 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.

Otherwise, the return value is zero.
Remarks
An application can set the graphics mode for a device context by calling the SetGraphicsMode function.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Coordinate Spaces and Transformations Overview
Coordinate Space and Transformation Functions
SetGraphicsMode
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144892(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:30:34