IDeviceModelPlugIn::GetNumChannels method (wcsplugin.h)

Returns the number of device channels in the parameter pNumChannels.

Syntax

HRESULT GetNumChannels(
  [out] UINT *pNumChannels
);

Parameters

[out] pNumChannels

A pointer to an unsigned integer representing the number of color channels for your device.

Return value

If this function succeeds, the return value is S_OK.

If this function fails, 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

See also