网站首页  词典首页

请输入您要查询的函数:

 

术语 setcoloradjustment
释义 SetColorAdjustment
语法:
BOOL SetColorAdjustment(
__in HDC hdc,
__in const COLORADJUSTMENT *lpca
);
SetColorAdjustment功能
该SetColorAdjustment函数设置一个设备上下文使用指定的值(DC)的颜色调整值。
参数
hdc [in]
一个句柄,设备上下文。
左右大脑 [in]
一个 COLORADJUSTMENT结构,包含颜色调整值的指针。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
颜色调整值用于调整为向StretchBlt和StretchDIBits函数函数的调用源位输入的彩色时半色调模式设置。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
颜色概述
颜色函数
GetColorAdjustment
StretchBlt
StretchDIBits函数
SetStretchBltMode
COLORADJUSTMENT
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==SetColorAdjustment Function
The SetColorAdjustment function sets the color adjustment values for a device context (DC) using the specified values.
Syntax
BOOL SetColorAdjustment(
__in HDC hdc,
__in const COLORADJUSTMENT *lpca
);
Parameters
hdc [in]
A handle to the device context.
lpca [in]
A pointer to a COLORADJUSTMENT structure containing the color adjustment values.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The color adjustment values are used to adjust the input color of the source bitmap for calls to the StretchBlt and StretchDIBits functions when HALFTONE mode is set.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Colors Overview
Color Functions
GetColorAdjustment
StretchBlt
StretchDIBits
SetStretchBltMode
COLORADJUSTMENT
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162968(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 13:23:25