Initsearchftpdevice – Argox PT-9130 User Manual

Page 67

Advertising
background image

PT-90 Mobile Computer SDK Programming Manual 60

InitSearchFTPDevice

Initial search Bluetooth device support File Transfer Profile service.

DWORD InitSearchFTPDevice

{

}

Parameters

None

Returned Values

If the action succeeds, the returned value is

E_FUNC_SUCCEED

. If the action fails, possible returned values are

E_FUNC_ERROR

,

BT_ERR_DEVICE_ERROR

.

Example

DWORD dwPos, dwRe;

WCHAR szDeviceName[128];

ULONGLONG btAddress;

If(InitSearchFTPDevice() == E_FUNC_SUCCEED){

dwRe = FindFirstFTPDevice(&dwPos, szDeviceName, & btAddress, 256);

while(dwRe == E_FUNC_SUCCEED){

FindNextFPTDevice(&dwPos, szDeviceName, & btAddress, 256);

if(dwRe != E_FUNC_SUCCEED)

break;

…………

}

}

Requirements

OS Versions: Windows CE 6.0 or beyond.

Header: sysapiax.h

Link Library: sysapiax.lib

Link DLL: sysapiax.dll
Device: PT90

Advertising