The function GetBacklightStatus fills a structure that contains the current backlight-status.
int GetBacklightStatus( PBACKLIGHTSTATUS pbkl);
typedef struct stBacklightStatus { DWORD size; // size of this structure in bytes. DWORD current; // current brightness in % DWORD on; // brightness for full-on-state in % DWORD dimmed; // brightness when the backlight is dimmed in % DWORD min; // backlight implementation specific: absolute min; may be higher than max DWORD max; // backlight implementation specific: absolute max. } BACKLIGHTSTATUS, *PBACKLIGHTSTATUS;
Parameters
PBACKLIGHTSTATUS pbkl size parameter needs to be set before calling GetBacklightStatus.
Return Values
Returns number of bytes filled in BACKLIGHTSTATUS structure.
0 indicates failure.
Remarks
Requirements
OS Versions: Windows Embedded CE 6 and later.
Header: drvlib_app.h
Link Library: drvlib_app.lib