Host Object Methods - Symantec PCANYWHERE - OLE AUTOMATION GUIDE V 12.5 Manual

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

Advertisement

80
Visual C++ object definitions
CHostData object

Host object methods

BOOL NasiPort();
BSTR GetNasiPortName();
void SetNasiPortName(LPCTSTR lpszNewValue);
BOOL GetNasiSelectOnConnect();
void SetNasiSelectOnConnect(BOOL bNewValue);
ISDN via CAPI 2.0 device details
Activates channel bonding (uses two ISDN channels for one connection) if TRUE.
BOOL GetCapiChannelBonding();
void SetCapiChannelBonding(BOOL bNewValue);
Sets any additional CAPI extensions that are needed for communications.
BSTR GetCapiExtensions();
void SetCapiExtensions(LPCTSTR lpszNewValue);
The following table describes the normal methods of the object (they are not used
to get and set properties):
Method
short ConnectionTypes();
BSTR
FirstConnectionType(); and
BSTR
NextConnectionType();
BOOL
FindConnectionType(LPCTSTR
lpszConnectionType);
Parameter or
Description
return value
Return value =
Returns the number of connection types
Short
available on this computer
Return value =
FirstConnectionType() and
BSTR
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
The return value is the name of a
supported connection device type
Parameter =
The parameter is the name of a
LPCTSTR
connection device type
lpszConnectionTyp
The return value is TRUE if this device
Return value =
type is available
BOOL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ole automation

Table of Contents