beautypg.com

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

Page 32: Led related functions

background image

PT-90 Mobile Computer SDK Programming Manual 25

LED Related Functions

GetKeypadLEDStatus

To get keypad back-light LED status.

BOOL GetKeypadLEDStatus

{

}

Parameters

None.

Returned Values

The returned value indicates whether keypad back-light LED is ON(TRUE) or OFF(FALSE).

Example

BOOL bResult;

bResult = GetKeypadLEDStatus();

if(bResult == TRUE)

AfxMessageBox(_T("Keypad LED on"));

else if(bResult == FALSE)

AfxMessageBox(_T("Keypad LED off"));

Requirements

OS Versions: Windows CE 6.0 or beyond.

Header: sysapiax.h

Link Library: sysapiax.lib

Link DLL: sysapiax.dll
Device: PT90