
Programming Manual
50
GetFTPShareFolder
Get terminal current File Transfer Profile share folder.
DWORD
GetFTPShareFolder
{
WCHAR *
strShareFolder
,
int *
nFolderLen
}
Parameters
strShareFolder
[out] The buffer to receive the share folder string
nFolderLen
[in/out] The
strShareFolder
buffer max size. If terminal current share folder
length > nFolderLen, the nFolderLen receive current share folder length.
Returned Values
If the action succeeds, the returned value is
E_FUNC_SUCCEED
. If the action fails,
possible returned values are
E_FUNC_PAR_ERROR
,
BT_ERR_INSUFFICIENT
.
Remarks
If function return BT_ERR_INSUFFICIENT, nFolderLen will receive the share folder
length of terminal.
Example
WCHAR *strFolder;
int nFolderLen = 256;
strFolder = new WCHAR[nMax];
DWORD dwErr = GetFTPShareFolder(strFolder, & nFolderLen);;
If(dwErr == BT_ERR_INSUFFICIENT){
Delete strFolder;
strFolder = new WCHAR[nFolderLen];
GetFTPShareFolder(strFolder, & nFolderLen);
}
Requirements
OS Versions:
Windows CE 5.0 and later.
Summary of Contents for PA-60
Page 1: ...PA 60 Mobile Computer Programming Manual DOC NO UM PA605 02 June 2012 Version 1 0 ...
Page 57: ...Programming Manual 53 Link Library sysapiax lib Link DLL sysapiax dll Device PA60 ...
Page 72: ...Programming Manual 68 Link Library sysapiax lib Link DLL sysapiax dll Device PA60 ...
Page 91: ...Programming Manual 87 Link Library scanapiax lib Link DLL scanapiax dll Device PA60 ...