SetPixelFormat3w
Usage
BOOL SetPixelFormat
(
HDC hdc,
INT iPixelFormat,
const PIXELFORMATDESCRIPTOR* ppfd
)
Overview
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".
Releases
5 releases since Debian 2.1 (Slink); the text changed 4 times.