Dgetnumgdibits - Planar Dome Md2/PCI Developer's Manual

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

Advertisement

DGetNumGDIBits

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dome md4/pciDome md5/pciDome md8/pci

Table of Contents