Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

  • No labels