Programming Manual
22
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
E_FUNC_SUCCEED
. If function fails, possible return value are
E_FUNC_ERROR
,
E_FUNC_PAR_ERROR
.
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 5.0 and later.
Header:
sysapiax.h
Link Library:
sysapiax.lib
Link DLL:
sysapiax.dll
Device:
PT61