.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH CreateHalftonePalette 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBCreateHalftonePalette\fR (GDI32.@) .SH SYNOPSIS HPALETTE CreateHalftonePalette ( HDC \fIhdc\fR ) .SH PARAMS \fIhdc\fR \fB[In]\fR Handle to device context. .PP .SH DESCRIPTION .PP Creates a halftone palette. .SH RETURNS .PP \fBSuccess:\fR Handle to logical halftone palette .PP \fBFailure:\fR \fB0.\fR .PP \fBFIXME:\fR This simply creates the halftone palette derived from running tests on a Windows(tm) \fBNT\fR machine. This is assuming a color depth of greater that \fB256\fR color. On a \fB256\fR color device the halftone palette will be different and this function will be incorrect .SH IMPLEMENTATION .PP Declared in \fB"gdiplusflat.h"\fR. .PP Implemented in \fB"dlls/gdi32/palette.c"\fR. .PP Debug channel \fB"palette"\fR.