beautypg.com

Gettouchpanelstatus – Argox PT-9130 User Manual

Page 27

background image

PT-90 Mobile Computer SDK Programming Manual 20

GetTouchPanelStatus

To get touch panel status.

DWORD GetTouchPanelStatus

{

LPBOOL

lpbEnable

}

Parameters

lpbEnable

[out] Receive the touch panel status. The returned value can be one of the values in the table below

Value

Touch panel status

0

Touch panel disable

1

Touch panel enable

Returned Values

If this action succeeds, the returned value is

E_FUNC_SUCCEED

. If this action fails, possible returned values are

E_FUNC_ERROR

.

Example

BOOL bEnable;

DWORD dwResult = GetTouchPanelStatus(&bEnable);

if(dwResult != E_FUNC_SUCCEED)

AfxMessageBox(_T("Get touch panel status fail"));

Requirements

OS Versions: Windows CE 6.0 or beyond.

Header: sysapiax.h

Link Library: sysapiax.lib

Link DLL: sysapiax.dll
Device: PT90