CreateHalftonePalette.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

CreateHalftonePalette (GDI32.@)

SYNOPSIS

HPALETTE CreateHalftonePalette
 (
  HDC hdc
 )

PARAMS

hdc [In] Handle to device context.

DESCRIPTION

Creates a halftone palette.

RETURNS

Success: Handle to logical halftone palette

Failure: 0.

FIXME: This simply creates the halftone palette derived from running tests on a Windows(tm) NT machine. This is assuming a color depth of greater that 256 color. On a 256 color device the halftone palette will be different and this function will be incorrect

IMPLEMENTATION

Defined in "wingdi.h".

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

Debug channel "palette".