NAME

DescribePixelFormat  (GDI32.@)

SYNOPSIS

 INT DescribePixelFormat
 (
  HDC                     hdc,
  INT                     iPixelFormat,
  UINT                    nBytes,
  LPPIXELFORMATDESCRIPTOR ppfd
 )

DESCRIPTION

Gets information about pixel format from DC.

PARAMS

hdc [In] Device context.
iPixelFormat [In] Pixel format selector.
nBytes [In] Size of buffer.
ppfd [Out] Pointer to structure to receive pixel format data.

RETURNS

Success: Maximum pixel format index of the device context

Failure: 0

IMPLEMENTATION

Defined in "wingdi.h".

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

Debug channel "gdi".


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