Reference

SetSystemPaletteUse(3w)

NAME

SetSystemPaletteUse (GDI32.@)

SYNOPSIS

UINT SetSystemPaletteUse
(
HDC hdc,
UINT use
)

PARAMS

hdc [In] Handle of device context.

use [In] Palette-usage flag.

DESCRIPTION

Specify whether the system palette contains 2 or 20 static colors.

RETURNS

Success: Previous system palette

Failure: SYSPAL_ERROR

IMPLEMENTATION

Declared in "wingdi.h".

Implemented in "dlls/gdi32/palette.c".

Debug channel "palette".

History