Dsetbrightness - Planar DX/PCI User Manual

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

Advertisement

DSetBrightness

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

DSetBrightness

Parameter Type
HDC
UWORD
DWORD
zero (0) if function completed successfully;
hdc;
nDisplay = (UWORD) Win2000DisplayNum |
WIN2K_DISPLAY_NUMBER;
dwRetCode;
dwBrightness = 0;/* Set to full
to set the brightness of the flat panel.
Name
Description
NULL
hdc
device.
Target display.
nDisplay
Contains the new brightness
Brightness
setting for the flat panel.
Valid settings are 0 (zero)
to 255, with 0 (zero) being
full brightness.
brightness */
dwBrightness);
DSetBrightness | 33
or
of target
hdc

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents