DeleteColorSpace function (wingdi.h)

The DeleteColorSpace function removes and destroys a specified color space.

Syntax

BOOL DeleteColorSpace(
  HCOLORSPACE hcs
);

Parameters

hcs

Specifies the handle to a color space to delete.

Return value

If this function succeeds, the return value is TRUE.

If this function fails, the return value is FALSE.

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
Library Gdi32.lib
DLL Gdi32.dll

See also