Share via


IDeviceModelPlugIn::ColorimetricToDeviceColorsWithBlack

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.

HRESULT IDeviceModelPlugIn::ColorimetricToDeviceColorsWithBlack(
  [in] UINT cColors,
  [in] UINT cChannels,
  [in, size_is(cColors*cChannels)] const FLOAT *pDeviceValues,
  [in, size_is(cColors)] const BlackInformation *pBlackInformation,
  [out, size_is(cColors)] XYZColorF *pXYZColors);

Parameters

  • cColors
    The number of colors in the pXYZColors and pDeviceValues arrays.
  • cChannels
    The number of color channels in the pDeviceValues arrays.
  • *pDeviceValues
    A pointer to the array of incoming device colors that are to be converted to XYZColorF structures.
  • *pBlackInformation
    A pointer to the BlackInformation.
  • *pXYZColors
    A pointer to the array of outgoing XYZColorF structures.

Return Values

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

**  Windows Vista:** Included in Windows Vista and later.
**  Header:** Declared in WcsPlugIn.h.

See Also

Basic Color Management Concepts, Functions