OEMIcmCreateColorTransform 函数 (printoem.h)

OEMIcmCreateColorTransform 函数创建 ICM 颜色转换。

语法

HANDLE OEMIcmCreateColorTransform(
                 DHPDEV           dhpdev,
                 LPLOGCOLORSPACEW pLogColorSpace,
  [in, optional] PVOID            pvSourceProfile,
                 ULONG            cjSourceProfile,
  [in]           PVOID            pvDestProfile,
                 ULONG            cjDestProfile,
  [in, optional] PVOID            pvTargetProfile,
                 ULONG            cjTargetProfile,
                 DWORD            dwReserved
);

参数

dhpdev

定义 DHPDEV 参数 dhpdev

pLogColorSpace

定义 LPLOGCOLORSPACEW 参数 pLogColorSpace

[in, optional] pvSourceProfile

定义 PVOID 参数 pvSourceProfile

cjSourceProfile

定义 ULONG 参数 cjSourceProfile

[in] pvDestProfile

定义 PVOID 参数 pvDestProfile

cjDestProfile

定义 ULONG 参数 cjDestProfile

[in, optional] pvTargetProfile

定义 PVOID 参数 pvTargetProfile

cjTargetProfile

定义 ULONG 参数 cjTargetProfile

dwReserved

定义 DWORD 参数 dwReserved

返回值

返回 HANDLE 值。

要求

要求
目标平台 Windows
标头 printoem.h (包括 Printoem.h)