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
Summary of Contents for PCANYWHERE - OLE AUTOMATION GUIDE V12.1
Page 1: ...Symantec pcAnywhere OLE Automation Guide ...
Page 6: ......
Page 18: ...18 Using OLE Automation with Symantec pcAnywhere Where to find more information ...
Page 68: ...68 Visual Basic object definitions Awrem32 functions ...
Page 108: ...108 Visual C object definitions Awrem32 functions ...
Page 112: ...112 Index ...