Symantec PCANYWHERE - OLE AUTOMATION GUIDE V 12.5 Manual page 61

Hide thumbs Also See for PCANYWHERE - OLE AUTOMATION GUIDE V 12.5:
Table of Contents

Advertisement

Method
BOOL FindFirst(LPCTSTR
lpszPattern, BSTR FAR*);
BOOL
FindFirst(pbstrFullQualName);
BOOL FindFirst
BOOL FindNext(BSTR FAR*
pbstrFullQualName);
LPDISPATCH
RetrieveObject(LPCTSTR
lpszFQName);
LPDISPATCH
RetrieveObject(short
wAccessMode);
LPDISPATCH
RetrieveObject(LPCTSTR
lpszPassword);
Parameter or
Description
return value
Parameter =
File name pattern to filter object files (an
LPCTSTR
asterisk [*] finds all files in the current
lpszPattern
directory)
Parameter =
Return buffer for the full path name of
BSTR FAR *
the remote object file that matches the
pbstrFullQualName
specified pattern
Return value =
TRUE if a remote object file matching
BOOL
the specified pattern is found. The full
path name of the matching file is stored
in pbstrFullQualName
Parameter =
After FindFirst() has been successfully
BSTR FAR *
called to get the name of a remote object
pbstrFullQualName
file in the current directory, FindNext()
can be called to find the next file that
Return value =
matches the pattern, if any
BOOL
Return value is TRUE if another remote
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 =
Retrieves a CRemoteData object by file
LPCTSTR
name
lpszFQName
Parameter is the fully qualified remote
object file name to be loaded
Parameter =
Specifies how this object is to be used.
short
This relates to the password protection.
wAccessMode
The options are as follows:
0 = Not specified
1 = View only
2 = View and Modify
3 = Execute
Parameter =
Object password. May be NULL
LPCTSTR
lpszPassword
Visual C++ object definitions
CRemoteDataManager methods
61

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ole automation

Table of Contents