Reference

SetPixelFormat(3w)

NAME

SetPixelFormat (GDI32.@)

SYNOPSIS

BOOL SetPixelFormat
(
HDC hdc,
INT iPixelFormat,
const PIXELFORMATDESCRIPTOR* ppfd
)

DESCRIPTION

Sets pixel format of device context.

PARAMS

hdc [In] Device context to search for best pixel match.

iPixelFormat [In] Pixel format index.

ppfd [In] Pixel format for which a match is sought.

RETURNS

Success: TRUE

Failure: FALSE

IMPLEMENTATION

Declared in "wingdi.h".

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

Debug channel "gdi".

History