CHostData object
Get and Set methods
Use this object to modify host object data.
The following methods are used to get and set properties of the CHostData object.
The phone number is the number to dial to establish a modem connection to a
pcAnywhere remote computer.
BSTR GetPhoneNumber();
void SetPhoneNumber(LPCTSTR lpszNewValue);
Indicates whether TAPI dialing properties should be used (location information)
(TRUE) or whether the phone number string should be used exactly as it appears
(FALSE).
BOOL GetUseDialingProperties();
void SetUseDialingProperties(BOOL bNewValue);
If dialing properties are to be used, this is the area code of the number to be called.
BSTR GetAreaCode();
void SetAreaCode(LPCTSTR lpszNewValue);
If dialing properties are to be used, this is the country code of the number to be
called.
BSTR GetCountryCode();
void SetCountryCode(LPCTSTR lpszNewValue);
The number of times to retry dialing this number if the call fails.
short GetRedialCount();
void SetRedialCount(short nNewValue);
The time to wait (in seconds) between redial attempts.
short GetRedialDelay();
void SetRedialDelay(short nNewValue);
Controls whether sessions using this object are logged.
BOOL GetLogSession();
void SetLogSession(BOOL bNewValue);
Controls whether sessions using this object are recorded from the beginning.
Visual C++ object definitions
CHostData object
75