ChoosePixelFormat(3w)

ChoosePixelFormat3w

Usage

INT ChoosePixelFormat
(
HDC hdc,
const PIXELFORMATDESCRIPTOR* ppfd
)

Overview

Matches a pixel format to given format.

Params

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

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

Returns

Success: Pixel format index closest to given format

Failure: 0

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.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.