![Symantec OLE Automation Скачать руководство пользователя страница 78](http://html.mh-extra.com/html/symantec/ole-automation/ole-automation_manual_1418926078.webp)
■
BOTH
The following code sets the connection start values:
BSTR GetComStartedBy();
void SetComStartedBy(LPCTSTR lpszNewValue);
Connection start values are as follows:
■
Always connected
■
Carrier detect (DCD)
■
Clear to send (CTS)
■
Data set ready (DSR)
■
Ring indicator (RI)
■
Receive 2 <CR>'s
■
Modem response
The following code sets the connection end values:
BSTR GetComEndedBy();
void SetComEndedBy(LPCTSTR lpszNewValue);
Connection end values are as follows:
■
Always connected
■
Carrier detect (DCD)
■
Clear to send (CTS)
■
Data set ready (DSR)
■
Ring indicator (RI)
The following code sets the connection speed:
long GetComSpeed();
void SetComSpeed(long nNewValue);
Connection speed values are as follows:
■
110
■
300
■
600
■
1200
■
2400
Visual C++ object definitions
CHostData object
78