Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the appropriate device colors in response to the incoming number of colors, channels, black information, Commission Internationale l'Eclairge XYZ (CIEXYZ) colors and the proprietary plug-in algorithms.
Syntax
HRESULT ColorimetricToDeviceColorsWithBlack(
[in] UINT cColors,
[in] UINT cChannels,
[out] const XYZColorF *pXYZColors,
[in] const BlackInformation *pBlackInformation,
[in] FLOAT *pDeviceValues
);
Parameters
[in] cColors
The number of colors in the pXYZColors and pDeviceValues arrays.
[in] cChannels
The number of color channels in the pDeviceValues arrays.
[out] pXYZColors
A pointer to the array of outgoing XYZColorF structures.
[in] pBlackInformation
A pointer to the BlackInformation.
[in] pDeviceValues
A pointer to the array of incoming device colors that are to be converted to XYZColorF structures.
Return value
If this function succeeds, the return value is S_OK.
If this function fails, the return value is E_FAIL. For extended error information, call GetLastError.
Remarks
If cColors or cChannels is zero, the return value is E_FAIL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wcsplugin.h |