Dgetbrightness - Planar DX/PCI User Manual

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

Advertisement

34 | DGetBrightness

DGetBrightness

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents