DescribePixelFormat.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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 "gdi_private.h".

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

Debug channel "gdi".