Symantec PCANYWHERE - OLE AUTOMATION GUIDE V12.1 Manual page 98

Ole automation guide
Table of Contents

Advertisement

98 Visual C++ object definitions
CHostData object
BSTR FirstConnectionType(); and BSTR
NextConnectionType();
FirstConnectionType() and NextConnectionType() are used to iterate through
the available connection types. The 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-50
defines the return value.
Table 3-50
BSTR FirstConnectionType(); and BSTR NextConnectionType();
return value
Return value
BSTR
BOOL FindConnectionType(LPCTSTR lpszConnectionType);
Returns TRUE if the connection type that is passed in exists on the computer.
Table 3-51
defines the parameter.
Table 3-51
BOOL FindConnectionType parameter
Parameter
LPCTSTR lpszConnectionType
Table 3-52
defines the return value.
Table 3-52
BOOL FindConnectionType return value
Return value
BOOL
short MaxAssignedConnections()
Returns the maximum number of connection types that can be assigned at the
same time (currently two).
Table 3-53
defines the return value.
Table 3-53
short MaxAssignedConnections() return value
Return value
Short
Description
The name of a supported connection device type
Description
The name of a connection device type
Description
TRUE if this device type is available
Description
The maximum number of connection type
assignments

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pcanywhere v12.1

Table of Contents