PT-90 Mobile Computer SDK Programming Manual
16
GetBacklightStatus
To get screen back-light status.
DWORD
GetBacklightStatus
{
}
Parameters
None.
Returned Values
The returned value indicates whether screen back-light is:
1 = screen back-light is ON; or
0 = screen back-light is oOFF.
Example
DWORD dwResult;
dwResult = GetBacklightStatus();
if(dwResult == 1)
AfxMessageBox(_T("Backlight on"));
else
AfxMessageBox(_T("Backlight off"));
Requirements
OS Versions:
Windows CE 6.0 or beyond.
Header:
sysapiax.h
Link Library:
sysapiax.lib
Link DLL:
sysapiax.dll
Device:
PT90