12.0
Table Of Contents
- Symantec pcAnywhere™ OLE Automation Guide
- Technical Support
- Contents
- 1. Using OLE Automation with Symantec pcAnywhere
- 2. Visual Basic object definitions
- 3. Visual C++ object definitions
- About Visual C++ objects
- CRemoteDataManager methods
- BSTR CurrentDirectory();
- BOOL ChangeDirectory(LPCTSTR lpszNewDirectory);
- BOOL FindFirst(LPCTSTR lpszPattern, BSTR FAR* pbstrFullQualName);
- BOOL FindNext(BSTR FAR* pbstrFullQualName);
- LPDISPATCH RetrieveObject(LPCTSTR lpszFQName, short wAccessMode, LPCTSTR lpszPassword);
- LPDISPATCH RetrieveObjectEx(LPCTSTR lpszFQName, short wAccessMode, LPCTSTR lpszPassword);
- LPDISPATCH CreateObject(LPCTSTR lpszFQName);
- LPDISPATCH CreateObjectEx(LPCTSTR lpszFQName);
- BOOL DeleteObject(LPCTSTR lpszFQName, LPCTSTR lpszPassword);
- BOOL Launch(LPCTSTR lpszFQName);
- CRemoteData object
- CRemoteDataEx object
- CHostDataManager methods
- BSTR CurrentDirectory();
- BOOL ChangeDirectory(LPCTSTR lpszNewDirectory);
- BOOL FindFirst(LPCTSTR lpszPattern, BSTR FAR* pbstrFullQualName);
- BOOL FindNext(BSTR FAR* pbstrFullQualName);
- LPDISPATCH RetrieveObject(LPCTSTR lpszFQName, short wAccessMode, LPCTSTR lpszPassword);
- LPDISPATCH RetrieveObjectEx(LPCTSTR lpszFQName, short wAccessMode, LPCTSTR lpszPassword);
- LPDISPATCH CreateObject(LPCTSTR lpszName);
- LPDISPATCH CreateObjectEx(LPCTSTR lpszName);
- BOOL DeleteObject(LPCTSTR lpszFQName, LPCTSTR lpszPassword);
- BOOL Launch(LPCTSTR lpszFQName);
- CHostData object
- CHostDataEx object
- Awrem32 functions
- Index
82 Visual C++ object definitions
CRemoteData object
Remote object methods
The following are the normal methods of the remote object (they are not used to
get and set properties):
■ short ConnectionTypes();
■ BSTR FirstConnectionType(); and BSTR NextConnectionType();
■ BOOL FindConnectionType(LPCTSTR lpszConnectionType);
■ short CountryCodes();
■ BSTR FirstCountryCode(); and BSTR NextCountryCode();
■ BOOL ReadObject(LPCTSTR lpszPassword);
■ BOOL WriteObject(LPCTSTR lpszPassword);
short ConnectionTypes();
Returns the number of connection types available.
Table 3-20 defines the return value.
BSTR FirstConnectionType(); and BSTR
NextConnectionType();
FirstConnectionType() and NextConnectionType() are used to iterate through
the available connection types. These functions return a BSTR, which is the
name of an available connection type. You can use these returned connection
types with the SetConnectionType() function.
Table 3-21 defines the return value.
Table 3-20 short ConnectionTypes(); return value
Return value Description
Short The number of connection types available on this
computer
Table 3-21 BSTR FirstConnectionType(); and BSTR NextConnectionType();
return value
Return value Description
BSTR The name of a supported connection device type










