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);
Host object methods
The following table describes the normal methods of the object (they are not used
to get and set properties):
Description
Parameter or
return value
Method
Returns the number of connection types
available on this computer
Return value =
Short
short ConnectionTypes();
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
The return value is the name of a
supported connection device type
Return value =
BSTR
BSTR
FirstConnectionType(); and
BSTR
NextConnectionType();
The parameter is the name of a
connection device type
The return value is TRUE if this device
type is available
Parameter =
LPCTSTR
lpszConnectionTyp
Return value =
BOOL
BOOL
FindConnectionType(LPCTSTR
lpszConnectionType);
Visual C++ object definitions
CHostData object
80