PT-90 Mobile Computer SDK Programming Manual
13
Display Related Functions
BacklightOn
To turn ON or OFF the LCD screen back-light.
DWORD
BacklightOn
{
BOOL
bOn
}
Parameters
bOn
[in] Flag that indicates whether to turn ON screen back-light(TRUE) or turn OFF screen
back-light(FALSE).
Returned Values
If this action succeeds, the returned value is
. If this action fails, the returned values are
Remarks
After this action turning ON or OFF the screen back-light, the back-light will be always ON or OFF. The back-light
setting of display properties in control panel does not work until the terminal been reseted.
Example
DWORD dwResult;
dwResult = BacklightOn(TRUE);
if(dwResult != E_FUNC_SUCCEED)
AfxMessageBox(_T("BacklightOn fail"));
Requirements
OS Versions:
Windows CE 6.0 or beyond.
Header:
sysapiax.h
Link Library:
sysapiax.lib
Link DLL:
sysapiax.dll
Device:
PT90