Keypadledon – Argox PT-9130 User Manual

Page 34

Advertising
background image

PT-90 Mobile Computer SDK Programming Manual 27

KeypadLEDOn

To always turn ON or OFF the keypad LED.

DWORD KeypadLEDOn

{

BOOL

bOn

}

Parameters

bOn

[in] Flag that indicates whether to turn ON (TRUE) or OFF(FALSE) the keypad LED.

Returned Values

If this action succeeds, the returned value is

E_FUNC_SUCCEED

. If this action fails, possible returned values 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 actual application

requirements. Calling this function will set the KeyPad LED to always ON or OFF. Programmer can use this

function or KeyPad LED Setting in the Control Panel to always turn ON or OFF the keypad LED.

Example

DWORD dwResult;

dwResult = KeypadLEDOn(TRUE);

if(dwResult != E_FUNC_SUCCEED)

AfxMessageBox(_T("KeypadLEDOn fail"));

Requirements

OS Versions: Windows CE 6.0 or beyond.

Header: sysapiax.h

Link Library: sysapiax.lib

Link DLL: sysapiax.dll
Device: PT90

Advertising