PT-90 Mobile Computer SDK Programming Manual
55
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
. If the action fails, possible returned values are
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 6.0 or beyond.
Header:
sysapiax.h
Link Library:
sysapiax.lib
Link DLL:
sysapiax.dll
Device:
PT90