Setftpservice – Argox PT-9130 User Manual

Page 57

Advertising
background image

PT-90 Mobile Computer SDK Programming Manual 50

SetFTPService

Enable or disable File Transfer Profile service.

DWORD SetFTPService

{

BOOL

bEnable

}

Parameters

bEnable

[in] Flag that indicates whether to enable (TRUE) or disable (FALSE) the File Transfer Profile service

mode

Returned Values

If the action succeeds, the returned value is

E_FUNC_SUCCEED

. If the action fails, possible returned values are

BT_ERR_SETTING_FAIL

.

Example

if(SetFTPService(TRUE) != E_FUNC_SUCCEED)

AfxMessageBox(_T("Set FTP service fail"));

Requirements

OS Versions: Windows CE 6.0 or beyond.

Header: sysapiax.h

Link Library: sysapiax.lib

Link DLL: sysapiax.dll
Device: PT90

Advertising