Description
Parameter or
return value
Method
Finds the first pcAnywhere host object
file (*.bhf) in the current directory,
based on the specified file name pattern
The parameter is the File name pattern
to filter object files (an asterisk [*] finds
all host files in the current directory)
The return value is TRUE if a host object
file matching the specified pattern is
found. The full path name of the
matching file is stored in
pbstrFullQualName
Parameter =
LPCTSTR
lpszPattern
Return value =
BOOL
BOOL FindFirst(LPCTSTR
lpszPattern);
Return buffer for the full path name of
the remote object file that matches the
specified pattern
The return value is TRUE if a host object
file matching the specified pattern is
found. The full path name of the
matching file is stored in
pbstrFullQualName.
Parameter = BSTR
FAR *
pbstrFullQualName
BOOL FindFirst(BSTR
FAR* pbstrFullQualName);
After FindFirst() has been successfully
called to get the name of a host object
file in the current directory, FindNext()
can be called to find the next file that
matches the pattern, if any
The parameter is the return buffer for
the full path name of the host object file
that matches the pattern specified in
the original call to FindFirst()
The return value is TRUE if another
host object file matching the pattern
specified in the call to FindFirst() is
found. The full path name of the
matching file is stored in
pbstrFullQualName
Parameter = BSTR
FAR *
pbstrFullQualName
Return value =
BOOL
BOOL FindNext(BSTR
FAR* pbstrFullQualName);
Retrieves a CHostData object by file
name.
The parameter is the fully qualified host
object file name to be loaded
Parameter =
LPCTSTR
lpszFQName
LPDISPATCH
RetrieveObject(LPCTSTR
lpszFQName);
Visual C++ object definitions
CHostDataManager methods
72