共用方式為


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

定義 pvSourceProfile PVOID 參數。

cjSourceProfile

定義 ULONG 參數,cjSourceProfile

[in] pvDestProfile

定義 PVOID 參數,pvDestProfile

cjDestProfile

定義 ULONG 參數,cjDestProfile

[in, optional] pvTargetProfile

定義 pvTargetProfile pvTargetProfile PVOID 參數。

cjTargetProfile

定義 ULONG 參數,cjTargetProfile

dwReserved

定義 dwReservedDWORD 參數。

傳回值

傳回 HANDLE 值。

要求

要求 價值
目標平臺 窗戶
標頭 printoem.h (include Printoem.h)