Luetooth, Elated, Unction – Argox PT-9130 User Manual

Page 51: Bt_on, Bluetooth related functions, Bluetooth related function

Advertising
background image

PT-90 Mobile Computer SDK Programming Manual 44

Bluetooth Related Function

BT_On

To ENABLE the Bluetooth function and power.

BOOL BT_On

{

}

Parameters

None.

Returned Values

If the action succeeds, the returned value is

E_FUNC_SUCCEED

. If the action fails, possible returned values are

BT_ERR_CREATE_FAIL

,

BT_ERR_INUSING

.

Example

BOOL bResult;

bResult = BT_On();

if(bResult != E_FUNC_SUCCEED)

AfxMessageBox(_T("Bluetooth enable fail"));

Requirements

OS Versions: Windows CE 6.0 or beyond.

Header: sysapiax.h

Link Library: sysapiax.lib

Link DLL: sysapiax.dll
Device: PT90

Advertising