Isplay, Elated, Unctions – Argox PT-9130 User Manual

Page 20: Backlighton, Display related functions

Advertising
background image

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

E_FUNC_SUCCEED

. If this action fails, the returned values are

E_FUNC_ERROR

,

E_FUNC_PAR_ERROR

.

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

Advertising