网站首页  词典首页

请输入您要查询的函数:

 

术语 getobjecttype
释义 GetObjectType
语法:
DWORD GetObjectType(
__in HGDIOBJ h
);
GetObjectType功能
该GetObjectType检索指定对象的类型。
参数
? [in]
一个句柄,图形对象。
返回值
如果函数成功,返回值标识对象。该值可以是下列之一。
ValueMeaning
OBJ_BITMAPBitmap
OBJ_BRUSHBrush
OBJ_COLORSPACEColor空间
OBJ_DCDevice背景
OBJ_ENHMETADCEnhanced图元文件直流
OBJ_ENHMETAFILEEnhanced图元文件
OBJ_EXTPENExtended笔
OBJ_FONTFont
OBJ_MEMDCMemory直流
OBJ_METAFILEMetafile
OBJ_METADCMetafile直流
OBJ_PALPalette
OBJ_PENPen
OBJ_REGIONRegion
如果函数失败,返回值是零。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
设备上下文概述
设备上下文函数
GetObject
SelectObject
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetObjectType Function
The GetObjectType retrieves the type of the specified object.
Syntax
DWORD GetObjectType(
__in HGDIOBJ h
);
Parameters
h [in]
A handle to the graphics object.
Return Value
If the function succeeds, the return value identifies the object. This value can be one of the following.
ValueMeaning
OBJ_BITMAPBitmap
OBJ_BRUSHBrush
OBJ_COLORSPACEColor space
OBJ_DCDevice context
OBJ_ENHMETADCEnhanced metafile DC
OBJ_ENHMETAFILEEnhanced metafile
OBJ_EXTPENExtended pen
OBJ_FONTFont
OBJ_MEMDCMemory DC
OBJ_METAFILEMetafile
OBJ_METADCMetafile DC
OBJ_PALPalette
OBJ_PENPen
OBJ_REGIONRegion

If the function fails, the return value is zero.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Device Contexts Overview
Device Context Functions
GetObject
SelectObject
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144905(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:26:07