Dgetnumgdibits - Planar DX/PCI User Manual

Display controller
Hide thumbs Also See for DX/PCI:
Table of Contents

Advertisement

DGetNumGDIBits

(Windows NT, Windows 2000 full Windows NT 4.0 compatible mode)
Purpose Use
Windows GDI (graphical device interface) bits.
Syntax
DWORD DGetNumGDIBits (hdc, lpNumRedBits,
Return value
DWORD –
otherwise, operating system error code.
Example This example returns the number of GDI bits.
#include <mdpcint.h>
{
HDC
DWORD
DWORD
dwRetCode = DGetNumGDIBits (hdc, &NumRedBits,
return dwRetCode;
}
See also
DGetScreenDimensions, DGetNumGCTBits

DGetNumGDIBits

lpNumGreenBits, lpNumBlueBits)
Parameter Type
HDC
DWORD FAR *
zero (0) if function completed successfully;
hdc;
dwRetCode;
NumRedBits, NumGreenBits, NumBlueBits;
&NumGreenBits, &NumBlueBits);
to return the number of
Name
hdc
lpNumRedBits
lpNumGreenBits
lpNumBlueBits
DGetNumGDIBits | 39
Description
Handle to the display-
device context
Number of red bits used
by GDI
Number of green bits
used by GDI
Number of blue bits
used by GDI

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dome m2/pciRx/pciDome dx/pciDome rx/pci

Table of Contents