Public Member Functions | |
| HRESULT | GetLoginSettings ([out] BSTR *pbstrName,[out] BSTR *pbstrPswd) |
| HRESULT | StoreLoginSettings ([in] BSTR bstrName,[in] BSTR bstrPswd) |
| HRESULT | GetVoIPSettings ([out, retval] IRdNtClntVoIPSettings **ppVoIPSettings) |
| HRESULT | StoreVoIPSettings ([in] IRdNtClntVoIPSettings *pVoIPSettings,[in] RtBOOL bNotifyControls) |
| HRESULT | SaveAllowed (void) |
| HRESULT | SaveNetworkPropsIntoCfgFile ([in] BSTR bstrCfgFilePath) |
| HRESULT | LoadNetworkPropsFromCfgFile ([in] BSTR bstrCfgFilePath) |
| HRESULT | ClntVoiceSettingsDlg ([in] RtBOOL bDisableSndStng) |
| HRESULT | SrvVoiceSettingsDlg ([in] IRsNode *pNetNode) |
| HRESULT | GetDefaultServerAdress ([out, retval] BSTR *bszSvrAdress) |
| HRESULT | GetDefaultServerPort ([out, retval] WORD *pwPort) |
| HRESULT | GetServerPortRange ([out] WORD *pwFirstPort,[out] WORD *pwLastPort) |
| HRESULT | StoreServerPortRange ([in] WORD wFirstPort,[in] WORD wLastPort) |
| HRESULT | GetAddressHistory ([out, retval] IRdNtAddrHistory **ppHistory) |
| HRESULT | StoreAddressHistory ([in] IRdNtAddrHistory *pHistory) |
| HRESULT | AddAddressIntoHistory ([in] IRdNtAddress *pAddress) |
| HRESULT | GetAgreementSettings ([out, retval] VARIANT *pvAgreement) |
| HRESULT | StoreAgreementSettings ([in] VARIANT vAgreement) |
| HRESULT IRfNetworkCfgFn::GetLoginSettings | ( | [out] BSTR * | pbstrName, | |
| [out] BSTR * | pbstrPswd | |||
| ) |
Read default login name and password from NetProperties node.
| pbstrName | [out] Returns login user name. | |
| pbstrPswd | [out] Returns user login password. |
| HRESULT IRfNetworkCfgFn::StoreLoginSettings | ( | [in] BSTR | bstrName, | |
| [in] BSTR | bstrPswd | |||
| ) |
Store default login name and password to NetProperties node (into hidden and encrypted connector).
| bstrName | [in] Specify login user name. | |
| bstrPswd | [in] Specify user login password. |
If the properties node doesn't exist, it will be created.
| HRESULT IRfNetworkCfgFn::GetVoIPSettings | ( | [out, retval] IRdNtClntVoIPSettings ** | ppVoIPSettings | ) |
Note: voip not available in current version.
Call to get the VoIP settings from NetProperties node.
Standard HRESULT processing can be applied to the result.
| HRESULT IRfNetworkCfgFn::StoreVoIPSettings | ( | [in] IRdNtClntVoIPSettings * | pVoIPSettings, | |
| [in] RtBOOL | bNotifyControls | |||
| ) |
Note: voip not available in current version.
Call to store the VoIP settings into NetProperties node.
| pVoIPSettings | [in] The VoIP IRdNtClntVoIPSettings data object that you want to store into network properties. | |
| bNotifyControls | [in] Specify TRUE if you want to notify all network controls about this change. |
If the properties node doesn't exist, it will be created.
| HRESULT IRfNetworkCfgFn::SaveAllowed | ( | void | ) |
Call this method to find if current runner supports object saving or not.
S_OK if save is allowed, S_FALSE if it isn't, or other error.
| HRESULT IRfNetworkCfgFn::SaveNetworkPropsIntoCfgFile | ( | [in] BSTR | bstrCfgFilePath | ) |
Save network properties node to net configuration file.
| bstrCfgFilePath | [in] Specify the file path.
|
The primary purpose of this method, is to replace storing network configuration,
in case the application has its serialization disabled.
You can use it for example to export the settings.
| HRESULT IRfNetworkCfgFn::LoadNetworkPropsFromCfgFile | ( | [in] BSTR | bstrCfgFilePath | ) |
Load network properties node from net configuration file.
| bstrCfgFilePath | [in] Specify the file path.
|
If runner has allowed store objects, you usually don't need to call this method,
as the network settings are already restored through application initialization.
| HRESULT IRfNetworkCfgFn::ClntVoiceSettingsDlg | ( | [in] RtBOOL | bDisableSndStng | ) |
Invoke the client settings dialog.
| bDisableSndStng | [in] If TRUE, all the DX related items will be disabled. |
S_FALSE - if the dialog was canceled.
or other error.
| HRESULT IRfNetworkCfgFn::SrvVoiceSettingsDlg | ( | [in] IRsNode * | pNetNode | ) |
Invoke the server settings dialog.
| pNetNode | [in] Specify the server node that will be set. |
S_FALSE - if the dialog was canceled.
or other error.
| HRESULT IRfNetworkCfgFn::GetDefaultServerAdress | ( | [out, retval] BSTR * | bszSvrAdress | ) |
Get default server IP address.
S_FALSE if the address is not found.
| HRESULT IRfNetworkCfgFn::GetDefaultServerPort | ( | [out, retval] WORD * | pwPort | ) |
Get default client port.
S_FALSE if the port is not found.
| HRESULT IRfNetworkCfgFn::GetServerPortRange | ( | [out] WORD * | pwFirstPort, | |
| [out] WORD * | pwLastPort | |||
| ) |
Get the server's port range. Function always return a value.
| pwFirstPort | [out] Returns the first port. | |
| pwLastPort | [out] Returns the last port. |
| HRESULT IRfNetworkCfgFn::StoreServerPortRange | ( | [in] WORD | wFirstPort, | |
| [in] WORD | wLastPort | |||
| ) |
Store server's port range.
| wFirstPort | [in] Specify the first port. | |
| wLastPort | [in] Specify the last port. |
| HRESULT IRfNetworkCfgFn::GetAddressHistory | ( | [out, retval] IRdNtAddrHistory ** | ppHistory | ) |
GetAddressHistory.
| HRESULT IRfNetworkCfgFn::StoreAddressHistory | ( | [in] IRdNtAddrHistory * | pHistory | ) |
StoreAddressHistory.
| pHistory | [in] . |
| HRESULT IRfNetworkCfgFn::AddAddressIntoHistory | ( | [in] IRdNtAddress * | pAddress | ) |
AddAddressIntoHistory.
| pAddress | [in] . |
| HRESULT IRfNetworkCfgFn::GetAgreementSettings | ( | [out, retval] VARIANT * | pvAgreement | ) |
GetAgreementSettings.
| pvAgreement | [out, retval] . |
| HRESULT IRfNetworkCfgFn::StoreAgreementSettings | ( | [in] VARIANT | vAgreement | ) |
StoreAgreementSettings.
| vAgreement | [in] . |
1.5.5