CipherLab 9400 Series User Manual page 177

Hide thumbs Also See for 9400 Series:
Table of Contents

Advertisement

GetNextFile
Purpose
To view files after StartBrowse() is called.
Syntax
int GetNextFile (int serviceInfo,
Parameters
serviceInfo
[in] A value returned by FindService().
fileInfo
[in][out]
Example for C#
int b1 = 0;
Cipherlab.SystemAPI.Member.Ftp_File_Info fileInfo =
new Cipherlab.SystemAPI.Member.Ftp_File_Info();
b1 = Cipherlab.SystemAPI.Member.GetNextFile(serviceInfo, fileInfo);
Example for VB
Dim fileInfo As Member.Ftp_File_Info
Cipherlab.SystemAPI.Member.GetNextFile(serviceInfo, fileInfo)
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
See Also
FindService
ref Ftp_File_Info fileInfo);
Ftp_File_Info
structure that stores the information.
Call GetErrorCode() to find the error condition encountered:
22
ERROR_NO_SERVICE_INFO
26
ERROR_NOT_SERVICEINFO_OBJ
27
ERROR_WRONG_SERVICE_TYPE
29
ERROR_SERVICE_NOT_CONNECTED
31
ERROR_WRONG_ARG
32
ERROR_OPERATION_FAIL
Chapter 3
System API
169

Advertisement

Table of Contents
loading

Table of Contents