网站首页  计算机词典

请输入您要查询的字词:

 

字词 getdcpencolor
释义 GetDCPenColor
语法:
COLORREF GetDCPenColor(
__in HDC hdc
);
GetDCPenColor功能
该GetDCPenColor函数检索指定的设备上下文(DC)电流笔颜色。
参数
hdc [in]
句柄到DC的画笔颜色是要返回。
返回值
如果函数成功,返回值是当前区笔颜色COLORREF价值。
如果函数失败,返回值是CLR_INVALID。
备注
有关设置笔的颜色信息,请参阅SetDCPenColor。
ICM的:色彩管理是ICM的执行,如果启用。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinGdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
设备上下文概述
设备上下文函数
COLORREF
SetDCPenColor
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetDCPenColor Function
The GetDCPenColor function retrieves the current pen color for the specified device context (DC).
Syntax
COLORREF GetDCPenColor(
__in HDC hdc
);
Parameters
hdc [in]
A handle to the DC whose brush color is to be returned.
Return Value
If the function succeeds, the return value is a COLORREF value for the current DC pen color.
If the function fails, the return value is CLR_INVALID.
Remarks
For information on setting the pen color, see SetDCPenColor .
ICM: Color management is performed if ICM is enabled.
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
COLORREF
SetDCPenColor
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144875(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 21:38:00