Download PA-60 Mobile Computer Programming Manual

Transcript
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 5.0 and later.
Header: sysapiax.h
Link Library: sysapiax.lib
Link DLL: sysapiax.dll
Device: PA60
Programming Manual
57