NAME

ChoosePixelFormat  (GDI32.@)

SYNOPSIS

 INT ChoosePixelFormat
 (
  HDC                          hdc,
  const PIXELFORMATDESCRIPTOR* ppfd
 )

DESCRIPTION

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

Defined in "wingdi.h".

Implemented in "dlls/gdi32/painting.c". source.winehq.org/source/dlls/gdi32/painting.c

Debug channel "gdi".


Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.