Remote Object Methods - Symantec PCANYWHERE - OLE AUTOMATION GUIDE V12.1 Manual

Ole automation guide
Table of Contents

Advertisement

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.
Table 3-20
short ConnectionTypes(); return value
Return value
Short
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-21
BSTR FirstConnectionType(); and BSTR NextConnectionType();
return value
Return value
BSTR
Description
The number of connection types available on this
computer
Description
The name of a supported connection device type

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pcanywhere v12.1

Table of Contents