Argox pt-80 Mode D'Emploi

Page de 76
 
KeypadLEDOn 
This function always turns on or off keypad LED. 
DWORD KeypadLEDOn 
    BOOL 
bOn
 
} 
 
Parameters 
 
 
bOn 
[in] Flag that indicates whether turn on keypad LED(TRUE) or turn off keypad LED(FALSE). 
 
Return Values 
If function succeeds, the return value is 
. If function fails, possible return value are 
 
 
Remarks 
The KeyPad LED setting in Control Panel is used to set the Keypad LED operation to meet requirements. Called 
this function will change the KeyPad LED setting to always on or off. You can use this function or KeyPad LED 
setting in Control Panel to always turn on or off keypad LED. 
 
 
Example 
 DWORD 
dwResult; 
 dwResult 
KeypadLEDOn(TRUE); 
 
if(dwResult != E_FUNC_SUCCEED) 
   AfxMessageBox(_T("KeypadLEDOn 
fail")); 
 
Requirements 
 
 
OS Versions: Windows CE 4.2 and later. 
 
 
Header: sysapiax.h 
 
 
Link Library: sysapiax.lib 
Link DLL: sysapiax.dll 
Device: PT80
 
Programming Manual                                                                                            21