Poweronlcd – Argox PT-9130 User Manual
Page 24

PT-90 Mobile Computer SDK Programming Manual 17
PowerOnLCD
To turn ON or OFF the LCD screen power.
DWORD PowerOnLCD
{
BOOL
bOn
}
Parameters
bOn
[in] Flag that indicates whether to turn ON (TRUE) or OFF (FALSE) the LCD power.
Returned Values
If this action succeeds, the returned value is
. If this action fails, possible returned values are
Remarks
After calling this function with “bOn” FALSE, terminal will only turn OFF the LCD power. It means that terminal
is still working. You should either call this function again to turn ON the LCD power or to reset terminal to use the
terminal with the LCD screen ON.
Example
DWORD dwResult;
dwResult = PowerOnLCD(FALSE); //power off LCD
if(dwResult != E_FUNC_SUCCEED)
AfxMessageBox(_T("PowerOnLCD fail"));
Sleep(3000);
dwResult = PowerOnLCD(TRUE); //power on LCD
if(dwResult != E_FUNC_SUCCEED)
AfxMessageBox(_T("PowerOnLCD fail"));
Requirements
OS Versions: Windows CE 6.0 or beyond.
Header: sysapiax.h
Link Library: sysapiax.lib
Link DLL: sysapiax.dll
Device: PT90