|
ReactOS 0.4.17-dev-116-ga4b6fe9
|
#include "precomp.h"#include <winnls.h>#include <winsock.h>#include <iphlpapi.h>#include <dhcpcsdk.h>#include <dhcpcapi.h>#include <inaddr.h>#include <ip2string.h>#include <ntstatus.h>
Go to the source code of this file.
Classes | |
| struct | tagIP_ADDR |
| struct | AlternateConfiguration |
| struct | TcpipSettings |
| struct | _AdapterSettings |
| struct | TcpipConfNotifyImpl |
| struct | TcpipGwSettings |
| struct | TcpipIpSettings |
| struct | TcpipDnsSettings |
| struct | TcpipSuffixSettings |
| struct | TcpipPortSettings |
Macros | |
| #define | IP_STRING_MIN_LENGTH 8 /* 0.0.0.0 + NULL */ |
| #define | IP_STRING_MAX_LENGTH 16 /* xxx.xxx.xxx.xxx + NULL */ |
Typedefs | |
| typedef DWORD(WINAPI * | PDHCPFALLBACKREFRESHPARAMS) (PWSTR pAdapterName) |
| typedef struct tagIP_ADDR | IP_ADDR |
| typedef struct _AdapterSettings | AdapterSettings |
| typedef struct TcpipConfNotifyImpl * | LPTcpipConfNotifyImpl |
Enumerations | |
| enum | COPY_TYPE { METRIC = 1 , SUBMASK = 2 , IPADDR = 3 } |
Variables | |
| static const INetCfgComponentPropertyUiVtbl | vt_NetCfgComponentPropertyUi |
| static const INetCfgComponentControlVtbl | vt_NetCfgComponentControl |
| static const INetCfgComponentSetupVtbl | vt_NetCfgComponentSetup |
| static const ITcpipPropertiesVtbl | vt_TcpipProperties |
Definition at line 14 of file tcpipconf_notify.c.
Definition at line 13 of file tcpipconf_notify.c.
| typedef struct _AdapterSettings AdapterSettings |
| typedef struct tagIP_ADDR IP_ADDR |
| typedef struct TcpipConfNotifyImpl * LPTcpipConfNotifyImpl |
Definition at line 16 of file tcpipconf_notify.c.
| VOID AddAlternativeDialog | ( | HWND | hDlg, |
| TcpipConfNotifyImpl * | This | ||
| ) |
Definition at line 2743 of file tcpipconf_notify.c.
Referenced by TcpipBasicDlg().
Definition at line 675 of file tcpipconf_notify.c.
|
static |
Definition at line 219 of file tcpipconf_notify.c.
Referenced by ITcpipProperties_fnUnknown1().
|
static |
Definition at line 344 of file tcpipconf_notify.c.
Referenced by ITcpipProperties_fnUnknown1().
|
static |
Definition at line 281 of file tcpipconf_notify.c.
Referenced by ITcpipProperties_fnUnknown1().
| HRESULT CopyIpAddrString | ( | IP_ADDR_STRING * | pSrc, |
| IP_ADDR ** | pTarget, | ||
| COPY_TYPE | Type, | ||
| LPWSTR | szMetric | ||
| ) |
Definition at line 3024 of file tcpipconf_notify.c.
Referenced by LoadAdapterSettings().
Definition at line 625 of file tcpipconf_notify.c.
Referenced by TcpipFilterSettingsDlg().
|
static |
Definition at line 3992 of file tcpipconf_notify.c.
Referenced by INetCfgComponentControl_fnApplyRegistryChanges().
Definition at line 1481 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedIpDlg().
Definition at line 692 of file tcpipconf_notify.c.
Referenced by TcpipFilterSettingsDlg().
Definition at line 179 of file tcpipconf_notify.c.
Referenced by DeleteItemFromList(), DelItem(), StoreTcpipAlternateSettings(), StoreTcpipBasicSettings(), TcpipAddDNSDlg(), TcpipAddIpDlg(), TcpipAddSuffixDlg(), TcpipAdvancedDnsDlg(), TcpipAdvancedIpDlg(), TcpipAdvGwDlg(), TcpipFilterPortDlg(), and TcpipFilterSettingsDlg().
Definition at line 1539 of file tcpipconf_notify.c.
Referenced by StoreDNSSettings(), and TcpipAdvancedIpDlg().
| VOID FreeSettings | ( | TcpipConfNotifyImpl * | This | ) |
Definition at line 3198 of file tcpipconf_notify.c.
Referenced by INetCfgComponentControl_fnRelease(), and Initialize().
|
static |
Definition at line 3317 of file tcpipconf_notify.c.
Referenced by INetCfgComponentControl_fnApplyPnpChanges(), and INetCfgComponentControl_fnApplyRegistryChanges().
|
static |
Definition at line 199 of file tcpipconf_notify.c.
Referenced by ITcpipProperties_fnUnknown1().
| BOOL GetGWListEntry | ( | HWND | hDlgCtrl, |
| INT | Index, | ||
| TcpipGwSettings * | pGwSettings | ||
| ) |
Definition at line 1205 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedIpDlg().
Definition at line 1524 of file tcpipconf_notify.c.
Referenced by CopyIpAddrString().
Definition at line 1499 of file tcpipconf_notify.c.
Referenced by GetIpAddressFromStringA(), StoreDNSSettings(), StoreIPSettings(), TcpipAddIpDlg(), and TcpipAdvGwDlg().
| BOOL GetIPListEntry | ( | HWND | hDlgCtrl, |
| INT | Index, | ||
| TcpipIpSettings * | pIpSettings | ||
| ) |
Definition at line 1457 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedIpDlg().
Definition at line 2094 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedDnsDlg().
| BOOL GetListViewItem | ( | HWND | hDlgCtrl, |
| UINT | Index, | ||
| UINT | SubIndex, | ||
| WCHAR * | szBuffer, | ||
| UINT | BufferSize | ||
| ) |
Definition at line 1555 of file tcpipconf_notify.c.
Referenced by StoreIPSettings().
Definition at line 1431 of file tcpipconf_notify.c.
Referenced by DECLARE_INTERFACE_(), DeleteItemFromList(), DelItem(), and TcpipAdvancedIpDlg().
|
static |
Definition at line 156 of file tcpipconf_notify.c.
Referenced by INetCfgComponentPropertyUi_fnAddRef(), INetCfgComponentPropertyUi_fnMergePropPages(), INetCfgComponentPropertyUi_fnQueryInterface(), INetCfgComponentPropertyUi_fnRelease(), and INetCfgComponentPropertyUi_fnSetContext().
|
static |
Definition at line 161 of file tcpipconf_notify.c.
Referenced by INetCfgComponentSetup_fnAddRef(), INetCfgComponentSetup_fnQueryInterface(), and INetCfgComponentSetup_fnRelease().
|
static |
Definition at line 166 of file tcpipconf_notify.c.
Referenced by ITcpipProperties_fnAddRef(), ITcpipProperties_fnQueryInterface(), ITcpipProperties_fnRelease(), and ITcpipProperties_fnUnknown1().
Definition at line 3936 of file tcpipconf_notify.c.
| HRESULT WINAPI INetCfgComponentControl_fnApplyPnpChanges | ( | INetCfgComponentControl * | iface, |
| INetCfgPnpReconfigCallback * | pICallback | ||
| ) |
Definition at line 4259 of file tcpipconf_notify.c.
Definition at line 4072 of file tcpipconf_notify.c.
Definition at line 4406 of file tcpipconf_notify.c.
| HRESULT WINAPI INetCfgComponentControl_fnInitialize | ( | INetCfgComponentControl * | iface, |
| INetCfgComponent * | pIComp, | ||
| INetCfg * | pINetCfg, | ||
| BOOL | fInstalling | ||
| ) |
Definition at line 3965 of file tcpipconf_notify.c.
| HRESULT WINAPI INetCfgComponentControl_fnQueryInterface | ( | INetCfgComponentControl * | iface, |
| REFIID | iid, | ||
| LPVOID * | ppvObj | ||
| ) |
Definition at line 3895 of file tcpipconf_notify.c.
Definition at line 3948 of file tcpipconf_notify.c.
Definition at line 3398 of file tcpipconf_notify.c.
Definition at line 3860 of file tcpipconf_notify.c.
Definition at line 3869 of file tcpipconf_notify.c.
| HRESULT WINAPI INetCfgComponentPropertyUi_fnMergePropPages | ( | INetCfgComponentPropertyUi * | iface, |
| DWORD * | pdwDefPages, | ||
| BYTE ** | pahpspPrivate, | ||
| UINT * | pcPages, | ||
| HWND | hwndParent, | ||
| LPCWSTR * | pszStartPage | ||
| ) |
Definition at line 3803 of file tcpipconf_notify.c.
| HRESULT WINAPI INetCfgComponentPropertyUi_fnQueryInterface | ( | INetCfgComponentPropertyUi * | iface, |
| REFIID | iid, | ||
| LPVOID * | ppvObj | ||
| ) |
Definition at line 3386 of file tcpipconf_notify.c.
| HRESULT WINAPI INetCfgComponentPropertyUi_fnQueryPropertyUi | ( | INetCfgComponentPropertyUi * | iface, |
| IUnknown * | pUnkReserved | ||
| ) |
Definition at line 3418 of file tcpipconf_notify.c.
Definition at line 3408 of file tcpipconf_notify.c.
| HRESULT WINAPI INetCfgComponentPropertyUi_fnSetContext | ( | INetCfgComponentPropertyUi * | iface, |
| IUnknown * | pUnkReserved | ||
| ) |
Definition at line 3428 of file tcpipconf_notify.c.
| HRESULT WINAPI INetCfgComponentPropertyUi_fnValidateProperties | ( | INetCfgComponentPropertyUi * | iface, |
| HWND | hwndDlg | ||
| ) |
Definition at line 3850 of file tcpipconf_notify.c.
Definition at line 4443 of file tcpipconf_notify.c.
| HRESULT WINAPI INetCfgComponentSetup_fnInstall | ( | INetCfgComponentSetup * | iface, |
| DWORD | dwSetupFlags | ||
| ) |
Definition at line 4463 of file tcpipconf_notify.c.
| HRESULT WINAPI INetCfgComponentSetup_fnQueryInterface | ( | INetCfgComponentSetup * | iface, |
| REFIID | iid, | ||
| LPVOID * | ppvObj | ||
| ) |
Definition at line 4431 of file tcpipconf_notify.c.
| HRESULT WINAPI INetCfgComponentSetup_fnReadAnswerFile | ( | INetCfgComponentSetup * | iface, |
| LPCWSTR | pszwAnswerFile, | ||
| LPCWSTR | pszwAnswerSections | ||
| ) |
Definition at line 4484 of file tcpipconf_notify.c.
Definition at line 4453 of file tcpipconf_notify.c.
Definition at line 4495 of file tcpipconf_notify.c.
| HRESULT WINAPI INetCfgComponentSetup_fnUpgrade | ( | INetCfgComponentSetup * | iface, |
| DWORD | dwSetupFlags, | ||
| DWORD | dwUpgradeFromBuildNo | ||
| ) |
Definition at line 4473 of file tcpipconf_notify.c.
| VOID InitFilterListBox | ( | LPWSTR | pData, |
| HWND | hwndDlg, | ||
| HWND | hDlgCtrl, | ||
| UINT | AllowButton, | ||
| UINT | RestrictButton, | ||
| UINT | AddButton, | ||
| UINT | DelButton | ||
| ) |
Definition at line 590 of file tcpipconf_notify.c.
Referenced by TcpipFilterSettingsDlg().
| HRESULT Initialize | ( | TcpipConfNotifyImpl * | This | ) |
Definition at line 3746 of file tcpipconf_notify.c.
| HPROPSHEETPAGE InitializePropertySheetPage | ( | LPWSTR | resname, |
| DLGPROC | dlgproc, | ||
| LPARAM | lParam, | ||
| LPWSTR | szTitle | ||
| ) |
Definition at line 867 of file tcpipconf_notify.c.
Referenced by AddAlternativeDialog(), INetCfgComponentPropertyUi_fnMergePropPages(), and LaunchAdvancedTcpipSettings().
| VOID InitializeTcpipAdvancedDNSDlg | ( | HWND | hwndDlg, |
| TcpipConfNotifyImpl * | This | ||
| ) |
Definition at line 1948 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedDnsDlg().
| VOID InitializeTcpipAdvancedIpDlg | ( | HWND | hwndDlg, |
| TcpipConfNotifyImpl * | This | ||
| ) |
Definition at line 1023 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedIpDlg().
| VOID InitializeTcpipAdvancedOptDlg | ( | HWND | hwndDlg, |
| TcpipConfNotifyImpl * | This | ||
| ) |
Definition at line 892 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedOptDlg().
| HRESULT InitializeTcpipAltDlgCtrls | ( | HWND | hwndDlg, |
| TcpipConfNotifyImpl * | This | ||
| ) |
Definition at line 2584 of file tcpipconf_notify.c.
Referenced by TcpipAltConfDlg().
| HRESULT InitializeTcpipBasicDlgCtrls | ( | HWND | hwndDlg, |
| TcpipConfNotifyImpl * | This | ||
| ) |
Definition at line 2931 of file tcpipconf_notify.c.
Referenced by LaunchAdvancedTcpipSettings(), and TcpipBasicDlg().
Definition at line 950 of file tcpipconf_notify.c.
Referenced by InitializeTcpipAdvancedIpDlg(), and TcpipFilterSettingsDlg().
Definition at line 974 of file tcpipconf_notify.c.
Referenced by InitializeTcpipAdvancedIpDlg().
|
static |
Definition at line 3284 of file tcpipconf_notify.c.
Referenced by INetCfgComponentControl_fnApplyPnpChanges(), and INetCfgComponentControl_fnApplyRegistryChanges().
Definition at line 4532 of file tcpipconf_notify.c.
| HRESULT WINAPI ITcpipProperties_fnQueryInterface | ( | ITcpipProperties * | iface, |
| REFIID | iid, | ||
| LPVOID * | ppvObj | ||
| ) |
Definition at line 4520 of file tcpipconf_notify.c.
Definition at line 4542 of file tcpipconf_notify.c.
| HRESULT WINAPI ITcpipProperties_fnUnknown1 | ( | ITcpipProperties * | iface, |
| GUID * | pAdapterName, | ||
| PTCPIP_PROPERTIES * | ppProperties | ||
| ) |
Definition at line 4552 of file tcpipconf_notify.c.
| VOID LaunchAdvancedTcpipSettings | ( | HWND | hwndDlg, |
| TcpipConfNotifyImpl * | This | ||
| ) |
Definition at line 2478 of file tcpipconf_notify.c.
Referenced by TcpipBasicDlg().
| HRESULT LoadAdapterSettings | ( | TcpipConfNotifyImpl * | This, |
| LPOLESTR | pAdapterName, | ||
| IP_ADAPTER_INFO * | pAdapterInfo | ||
| ) |
Definition at line 3644 of file tcpipconf_notify.c.
Referenced by Initialize().
Definition at line 3479 of file tcpipconf_notify.c.
Referenced by LoadAdapterSettings().
| HRESULT LoadTcpipSettings | ( | TcpipConfNotifyImpl * | This | ) |
Definition at line 3501 of file tcpipconf_notify.c.
Referenced by Initialize().
Definition at line 2054 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedDnsDlg().
|
static |
Definition at line 3350 of file tcpipconf_notify.c.
Referenced by INetCfgComponentControl_fnApplyPnpChanges(), and INetCfgComponentControl_fnApplyRegistryChanges().
| HRESULT ParseNameServer | ( | HKEY | hAdapterKey, |
| AdapterSettings * | pAdapter | ||
| ) |
Definition at line 3560 of file tcpipconf_notify.c.
Referenced by LoadAdapterSettings().
Definition at line 2461 of file tcpipconf_notify.c.
Referenced by LaunchAdvancedTcpipSettings().
Definition at line 2076 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedDnsDlg().
| VOID StoreDNSSettings | ( | HWND | hDlgCtrl, |
| TcpipConfNotifyImpl * | This | ||
| ) |
Definition at line 2143 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedDnsDlg().
| VOID StoreIPSettings | ( | HWND | hDlgCtrl, |
| TcpipConfNotifyImpl * | This, | ||
| BOOL | bSubmask | ||
| ) |
Definition at line 1569 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedIpDlg().
| INT_PTR StoreTcpipAlternateSettings | ( | HWND | hwndDlg, |
| TcpipConfNotifyImpl * | This, | ||
| BOOL | bApply | ||
| ) |
Definition at line 2517 of file tcpipconf_notify.c.
Referenced by TcpipAltConfDlg().
| INT_PTR StoreTcpipBasicSettings | ( | HWND | hwndDlg, |
| TcpipConfNotifyImpl * | This, | ||
| BOOL | bApply | ||
| ) |
Definition at line 2757 of file tcpipconf_notify.c.
Referenced by LaunchAdvancedTcpipSettings(), and TcpipBasicDlg().
Definition at line 1867 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedDnsDlg().
Definition at line 1234 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedIpDlg().
Definition at line 1353 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedDnsDlg().
Definition at line 2184 of file tcpipconf_notify.c.
Referenced by LaunchAdvancedTcpipSettings().
Definition at line 1627 of file tcpipconf_notify.c.
Referenced by LaunchAdvancedTcpipSettings().
Definition at line 918 of file tcpipconf_notify.c.
Referenced by LaunchAdvancedTcpipSettings().
Definition at line 1078 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedIpDlg().
Definition at line 2652 of file tcpipconf_notify.c.
Referenced by AddAlternativeDialog(), and INetCfgComponentPropertyUi_fnMergePropPages().
Definition at line 3082 of file tcpipconf_notify.c.
Referenced by INetCfgComponentPropertyUi_fnMergePropPages().
Definition at line 4648 of file tcpipconf_notify.c.
Definition at line 514 of file tcpipconf_notify.c.
Referenced by AddItem().
Definition at line 707 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedOptDlg().
| VOID ToggleUpDown | ( | HWND | hwndDlg, |
| HWND | hDlgCtrl, | ||
| UINT | UpButton, | ||
| UINT | DownButton, | ||
| UINT | ModButton, | ||
| UINT | DelButton | ||
| ) |
Definition at line 2020 of file tcpipconf_notify.c.
Referenced by TcpipAdvancedDnsDlg().
Definition at line 1338 of file tcpipconf_notify.c.
Referenced by TcpipAddSuffixDlg(), and TcpipAdvancedDnsDlg().
|
static |
Definition at line 4413 of file tcpipconf_notify.c.
Referenced by TcpipConfigNotify_Constructor().
|
static |
Definition at line 3876 of file tcpipconf_notify.c.
Referenced by TcpipConfigNotify_Constructor().
|
static |
Definition at line 4502 of file tcpipconf_notify.c.
Referenced by TcpipConfigNotify_Constructor().
|
static |
Definition at line 4638 of file tcpipconf_notify.c.
Referenced by TcpipConfigNotify_Constructor().