Dsetcontrast - Planar DX/PCI User Manual

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

Advertisement

DSetContrast

(Available for flat panel only)
Purpose Use
Syntax
DWORD DSetContrast (hdc, nDisplay, Contrast)
Return value
DWORD –
otherwise, operating system error code.
Example This example sets the contrast of a panel.
#include <mdpcint.h>
{
HDC
UWORD
DWORD
DWORD
dwRetCode = DSetContrast (NULL, nDisplay,
return dwRetCode;
}
See also
DGetContrast

DSetContrast

Parameter Type
HDC
UWORD
DWORD
zero (0) if function completed successfully;
hdc;
nDisplay = (UWORD) Win2000DisplayNum |
WIN2K_DISPLAY_NUMBER;
dwRetCode;
dwContrast = 0x80;/* Set to default
to set the contrast of the flat panel.
Name
Description
NULL
hdc
Target display.
nDisplay
Contains the new contrast
Contrast
setting for the flat panel. Valid
settings are 0 (zero) to 255. The
panel powers up with a contrast
value of 0x80.
contrast */
dwContrast);
DSetContrast | 35
or
of target device.
hdc

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents