Scroll to navigation

SelectPalette(3w) Wine API SelectPalette(3w)

NAME

SelectPalette (GDI32.@)

SYNOPSIS

HPALETTE SelectPalette
(
HDC hDC,
HPALETTE hPal,
BOOL bForceBackground
)
 

PARAMS

hDC [In] Handle of device context.
hPal [In] Handle of logical color palette.
bForceBackground [In] Foreground/background mode.
 

DESCRIPTION

Selects logical palette into DC.
 

RETURNS

Success: Previous logical palette
Failure: NULL
 

IMPLEMENTATION

Declared in "gdi_private.h".
Implemented in "dlls/gdi32/palette.c".
Debug channel "palette".
Oct 2012 Wine API