Reference

GetPixelFormat(3w)

NAME

GetPixelFormat (GDI32.@)

SYNOPSIS

INT GetPixelFormat
(
HDC hdc
)

DESCRIPTION

Gets index of pixel format of DC.

PARAMS

hdc [In] Device context whose pixel format index is sought.

RETURNS

Success: Currently selected pixel format

Failure: 0

IMPLEMENTATION

Declared in "ddraw.h".

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

Debug channel "gdi".

History