Findfirstftpfile – Argox PT-9130 User Manual
Page 79

PT-90 Mobile Computer SDK Programming Manual 72
FindFirstFTPFile
Get first file information from share folder in the connected device.
DWORD FindFirstFTPFile
{
WCHAR *
path
,
FTP_FILE *
File
}
Parameters
path
[in] The path of connected device for search file.
File
[out] The first searched file information in the path, see
data structure.
Returned Values
If the action succeeds, the returned value is
. If the action fails, possible returned values are
Example
FTP_FILE File;
DWORD dwErr = FindFirstFTPFile(_T(“\\”), &File);
If(dwErr==E_FUNC_SUCCEED){
Do{
…………
dwErr = FindNextFTPFile(&File);
}while(dwErr == E_FUNC_SUCCEED);
}
Requirements
OS Versions: Windows CE 6.0 or beyond.
Header: sysapiax.h
Link Library: sysapiax.lib
Link DLL: sysapiax.dll
Device: PT90