NAME

NtGdiCreateHalftonePalette  (WIN32U.@)

SYNOPSIS

 HPALETTE NtGdiCreateHalftonePalette
 (
  HDC hdc
 )

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® 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

Declared in "include/ntgdi.h". gitlab.winehq.org/wine/wine/blob/master/include/ntgdi.h

Implemented in "dlls/win32u/palette.c". gitlab.winehq.org/wine/wine/blob/master/dlls/win32u/palette.c

Debug channel "palette".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.