Setdiscovermode – Argox PT-9130 User Manual

Page 53

Advertising
background image

PT-90 Mobile Computer SDK Programming Manual 46

SetDiscoverMode

Enable or disable terminal discovered mode.

DWORD SetDiscoverMode

{

BOOL

bEnable

}

Parameters

bEnable

[in] Flag that indicates whether to enable (TRUE) or disable (FALSE) the terminal discovered mode

Returned Values

If the action succeeds, the returned value is

E_FUNC_SUCCEED

. If the action fails, possible returned value is

BT_ERR_SETTING_FAIL

.

Example

If(SetDiscoverMode(TRUE) != E_FUNC_SUCCEED)

AfxMessageBox(“Setting fail”);

Requirements

OS Versions: Windows CE 6.0 or beyond.

Header: sysapiax.h

Link Library: sysapiax.lib

Link DLL: sysapiax.dll
Device: PT90

Advertising