Dgetcontrast - Planar DX/PCI User Manual

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

Advertisement

36 | DGetContrast

DGetContrast

(Available for flat panel only)
Purpose Use
the flat panel.
Syntax
DWORD DGetContrast (hdc, nDisplay, pContrast)
Return value
DWORD –
otherwise, operating system error code.
Example This example returns the contrast of a panel.
#include <mdpcint.h>
{
HDC
UWORD
DWORD
DWORD
dwRetCode = DGetContrast (NULL, nDisplay,
return dwRetCode;
}
See also
DSetContrast
DGetContrast
Parameter Type
HDC
UWORD
DWORD FAR *
zero (0) if function completed successfully;
hdc;
nDisplay = (UWORD) Win2000DisplayNum |
WIN2K_DISPLAY_NUMBER;
dwRetCode;
dwContrast;
&dwContrast);
to return the current contrast setting of
Name
Description
NULL
hdc
Target display.
nDisplay
Pointer to
pContrast
with the current contrast setting
of the flat panel (on successful
return). Current values are
0 (zero) to 255. The panel
powers up with a contrast
value of 0x80.
or
of target device.
hdc
It is filled in
DWORD.

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents