BRUSHOBJ_hGetColorTransform 函数 (winddi.h)

BRUSHOBJ_hGetColorTransform 函数检索指定画笔的颜色转换。

语法

ENGAPI HANDLE BRUSHOBJ_hGetColorTransform(
  BRUSHOBJ *pbo
);

参数

pbo

指向正在查询其颜色转换的 BRUSHOBJ 结构的指针。 颜色转换是在之前调用 DrvIcmCreateColorTransform 时创建的。

返回值

成功后,BRUSHOBJ_hGetColorTransform 返回指定 BRUSHOBJ 结构的颜色转换的句柄。 否则,它将返回 NULL

注解

禁用 ICM 时,BRUSHOBJ_hGetColorTransform返回 NULL

转换对象的颜色转换是通过调用 XLATEOBJ_hGetColorTransform获取的。

要求

要求
最低受支持的客户端 适用于 Windows 2000 及更高版本的 Windows 操作系统。
目标平台 通用
标头 winddi.h (包括 Winddi.h)
Library Win32k.lib
DLL Win32k.sys

另请参阅

BRUSHOBJ

DrvIcmCreateColorTransform

XLATEOBJ_hGetColorTransform