CMYK macro (wingdi.h)

The CMYK macro creates a CMYK color value by combining the specified cyan, magenta, yellow, and black values.

Syntax

void CMYK(
   c,
   m,
   y,
   k
);

Parameters

c

The cyan value for the color to be created.

m

The magenta value for the color to be created.

y

The yellow value for the color to be created.

k

The black value for the color to be created.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wingdi.h

See also