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 "ntgdi.h". https://source.winehq.org/source/include/ntgdi.h

Implemented in "dlls/win32u/palette.c". https://source.winehq.org/source/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 Apr 2024.