69 const INetCfgComponentPropertyUi *
lpVtbl;
135 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
175 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
179 if (pPort->MaxNum == 65536)
195 if (Num > pPort->MaxNum || Num == 0)
197 if (pPort->MaxNum == 65536)
207 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
216 li.pszText = szBuffer;
295 for(iIndex = 0; iIndex < iCount; iIndex++)
300 li.pszText = szBuffer;
301 li.cchTextMax =
sizeof(szBuffer) /
sizeof(
WCHAR);
346 Port.MaxNum = MaxItem;
347 Port.hDlgCtrl = hDlgCtrl;
470 if (pContext->pCurrentConfig->pFilter)
472 CoTaskMemFree(pContext->pCurrentConfig->pFilter->szTCPAllowedPorts);
473 CoTaskMemFree(pContext->pCurrentConfig->pFilter->szUDPAllowedPorts);
474 CoTaskMemFree(pContext->pCurrentConfig->pFilter->szRawIPAllowedProtocols);
477 pContext->pCurrentConfig->pFilter = pFilter;
549 szText[(
sizeof(szText)/
sizeof(
WCHAR))-1] =
L'\0';
556 szText[(
sizeof(szText)/
sizeof(
WCHAR))-1] =
L'\0';
612 lc.
fmt = LVCFMT_FIXED_WIDTH;
635 li.iItem = itemCount;
637 dwIpAddr =
pAddr->IpAddress;
641 li.pszText = szBuffer;
647 dwIpAddr =
pAddr->u.Subnetmask;
661 li.pszText = szBuffer;
682 if (
This->pCurrentConfig->DhcpEnabled)
688 li.pszText = szBuffer;
739 if (pGwSettings->
bAdd)
743 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
753 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
816 if (!pGwSettings->
bAdd)
851 li.pszText = pGwSettings->
szIP;
856 li.pszText = szBuffer;
900 if (pIpSettings->
bAdd)
904 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
913 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
957 else if (!pIpSettings->
bAdd)
1005 if (!pSettings->
bAdd)
1010 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
1020 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
1039 if (pSettings->Suffix)
1069 UINT iItemCount, iIndex;
1075 for (iIndex = 0; iIndex < iItemCount; iIndex++)
1099 li.pszText = pIpSettings->
szIP;
1144 while((pNext =
wcschr(pNext,
L'.')))
1148 dwIpAddr |= (Val <<
Index * 8);
1153 dwIpAddr |=
_wtoi(pLast);
1183 pNext =
pAddr->Next;
1196 li.pszText = szBuffer;
1198 li.iSubItem = SubIndex;
1221 for(iIndex = 0; iIndex < iCount; iIndex++)
1230 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
1235 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
1272 WCHAR szBuffer[200];
1299 (!
This->pCurrentConfig->DhcpEnabled);
1353 li.pszText = Ip.szIP;
1359 li.pszText = Ip.szMask;
1383 li.pszText = Ip.szIP;
1385 li.pszText = Ip.szMask;
1406 li.pszText =
Gw.szIP;
1414 li.pszText = szBuffer;
1421 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
1423 li.pszText = szBuffer;
1450 li.pszText =
Gw.szIP;
1456 li.pszText = szBuffer;
1463 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
1465 li.pszText = szBuffer;
1492 WCHAR szBuffer[100];
1501 if (!pSettings->
bAdd)
1505 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
1515 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
1533 if (pSettings->
bAdd)
1538 if (!pSettings->
bAdd)
1569 WCHAR szBuffer[200];
1578 dwIpAddr =
pAddr->IpAddress;
1587 if (!
This->pCurrentConfig->pDNS)
1590 if (
This->pCurrentConfig->pDNS->RegisterAdapterName)
1595 if (
This->pCurrentConfig->pDNS->RegistrationEnabled)
1598 if (
This->pCurrentConfig->pDNS->szDomain[0])
1601 if (
This->pCurrentConfig->pDNS->UseDomainNameDevolution)
1604 if (!
This->pCurrentConfig->pDNS->szSearchList || (
wcslen(
This->pCurrentConfig->pDNS->szSearchList) == 0))
1612 pList =
This->pCurrentConfig->pDNS->szSearchList;
1653 if (lResult < lCount -1)
1678 WCHAR szBuffer[100];
1706 if (lResult + 1 < lCount)
1720 LPWSTR pszSearchList, pItem;
1723 if (!iCount || iCount ==
LB_ERR)
1728 for (iIndex = 0; iIndex < iCount; iIndex++)
1741 pItem = pszSearchList;
1742 for (iIndex = 0; iIndex < iCount; iIndex++)
1752 if (iIndex != iCount -1)
1759 return pszSearchList;
1775 if (!iCount || iCount ==
LB_ERR)
1781 for(iIndex = 0; iIndex < iCount; iIndex++)
1800 This->pCurrentConfig->AutoconfigActive =
FALSE;
1818 WCHAR szSuffix[100];
1819 WCHAR szFormat[200];
1820 WCHAR szBuffer[300];
1846 szSuffix[(
sizeof(szSuffix)/
sizeof(
WCHAR))-1] =
L'\0';
1851 szFormat[(
sizeof(szFormat)/
sizeof(
WCHAR))-1] =
L'\0';
1852 swprintf(szBuffer, szFormat, szSuffix);
1854 szFormat[(
sizeof(szFormat)/
sizeof(
WCHAR))-1] =
L'\0';
1856 szFormat[0] =
L'\0';
1869 if (!
This->pCurrentConfig->pDNS)
1876 This->pCurrentConfig->pDNS->szSearchList =
NULL;
1878 This->pCurrentConfig->pDNS->UseDomainNameDevolution =
TRUE;
1880 This->pCurrentConfig->pDNS->UseDomainNameDevolution =
FALSE;
1885 This->pCurrentConfig->pDNS->szSearchList =
NULL;
1886 This->pCurrentConfig->pDNS->UseDomainNameDevolution =
FALSE;
1892 This->pCurrentConfig->pDNS->RegisterAdapterName =
TRUE;
1894 This->pCurrentConfig->pDNS->RegistrationEnabled =
TRUE;
1896 This->pCurrentConfig->pDNS->RegistrationEnabled =
FALSE;
1900 This->pCurrentConfig->pDNS->RegisterAdapterName =
FALSE;
1901 This->pCurrentConfig->pDNS->RegistrationEnabled =
FALSE;
2060 Suffix.
Suffix[lLength] =
L'\0';
2107 WCHAR szBuffer[100];
2115 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
2117 szBuffer[0] =
L'\0';
2123 pinfo.u3.
phpage = hppages;
2184 if (pCurSettings->
Ip)
2199 if (pCurSettings->
Ns)
2202 if (pCurSettings->
Ns->
Next)
2235 if (
This->pCurrentConfig)
2297 This->pCurrentConfig->DhcpEnabled =
FALSE;
2307 if (!
This->pCurrentConfig->Ip)
2310 if (!
This->pCurrentConfig->Ip)
2314 This->pCurrentConfig->Ip->IpAddress = dwIpAddr;
2338 This->pCurrentConfig->Ip->u.Subnetmask = dwIpAddr;
2342 This->pCurrentConfig->DhcpEnabled =
TRUE;
2347 if (!
This->pCurrentConfig->Gw)
2350 if (!
This->pCurrentConfig->Gw)
2355 This->pCurrentConfig->Gw->IpAddress = dwIpAddr;
2359 if (
This->pCurrentConfig->Gw)
2361 IP_ADDR * pNextGw =
This->pCurrentConfig->Gw->Next;
2363 This->pCurrentConfig->Gw = pNextGw;
2370 This->pCurrentConfig->AutoconfigActive =
FALSE;
2373 if (!
This->pCurrentConfig->Ns)
2376 if (!
This->pCurrentConfig->Ns)
2380 This->pCurrentConfig->Ns->IpAddress = dwIpAddr;
2382 else if (
This->pCurrentConfig->Ns)
2387 This->pCurrentConfig->Ns = pTemp;
2394 if (!
This->pCurrentConfig->Ns || bSkip)
2396 if (!
This->pCurrentConfig->Ns)
2399 if (!
This->pCurrentConfig->Ns)
2403 This->pCurrentConfig->Ns->IpAddress = dwIpAddr;
2405 else if (!
This->pCurrentConfig->Ns->Next)
2408 if (!
This->pCurrentConfig->Ns->Next)
2411 This->pCurrentConfig->Ns->Next->IpAddress = dwIpAddr;
2415 This->pCurrentConfig->Ns->Next->IpAddress = dwIpAddr;
2420 if (
This->pCurrentConfig->Ns &&
This->pCurrentConfig->Ns->Next)
2422 if (
This->pCurrentConfig->Ns->Next->Next)
2424 IP_ADDR *pTemp =
This->pCurrentConfig->Ns->Next->Next;
2426 This->pCurrentConfig->Ns->Next = pTemp;
2431 This->pCurrentConfig->Ns->Next =
NULL;
2438 This->pCurrentConfig->AutoconfigActive =
TRUE;
2485 if (pCurSettings->
Ip)
2511 if (pCurSettings->
Ns)
2514 if (pCurSettings->
Ns->
Next)
2568 if (szMetric && szMetric[0] !=
L'\0')
2571 szMetric +=
wcslen(szMetric) + 1;
2581 pCurrent = pCurrent->
Next;
2611 if (
This->pCurrentConfig)
2714 INetCfgComponentPropertyUi * iface,
2749 INetCfgComponentPropertyUi * iface)
2760 INetCfgComponentPropertyUi * iface)
2775 INetCfgComponentPropertyUi * iface,
2778 INetLanConnectionUiInfo * pLanInfo;
2797 INetCfgComponentPropertyUi * iface,
2814 WCHAR szBuffer[200];
2820 if (!
This->pCurrentConfig->pDNS)
2828 swprintf(szBuffer,
L"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters\\Interfaces\\%s", pStr);
2838 dwSize =
sizeof(
This->pCurrentConfig->pDNS->szDomain);
2853 if (
This->pCurrentConfig->pDNS->szSearchList)
2858 This->pCurrentConfig->pDNS->szSearchList =
NULL;
2895 WCHAR szBuffer[200];
2904 This->pCurrentConfig->pFilter = pFilter;
2922 swprintf(szBuffer,
L"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters\\Interfaces\\%s", pStr);
2951 if (
This->pCurrentConfig)
2980 pCurrentAdapter = pInfo;
2982 while(pCurrentAdapter)
2984 szBuffer[0] =
L'\0';
2987 szBuffer[(
sizeof(szBuffer)/
sizeof(
WCHAR))-1] =
L'\0';
2994 pCurrentAdapter = pCurrentAdapter->
Next;
3012 This->pCurrentConfig = pCurSettings;
3014 pCurSettings->
Index = pCurrentAdapter->
Index;
3045 if (!
Info.AutoconfigActive)
3066 INetCfgComponentPropertyUi * iface,
3068 BYTE **pahpspPrivate,
3082 if (
This->pCurrentConfig->DhcpEnabled)
3108 *pahpspPrivate = (
BYTE*)hppages;
3109 *pcPages = NumPages;
3117 INetCfgComponentPropertyUi * iface,
3127 INetCfgComponentPropertyUi * iface)
3137 INetCfgComponentPropertyUi * iface)
3163 INetCfgComponentControl * iface,
3174 INetCfgComponentControl * iface)
3183 INetCfgComponentControl * iface)
3192 INetCfgComponentControl * iface,
3193 INetCfgComponent *pIComp,
3199 This->pNCfg = pINetCfg;
3200 This->pNComp = pIComp;
3235 pTemp = pTemp->
Next;
3275 pStr +=
wcslen(pStr) + 1;
3277 pTemp = pTemp->
Next;
3288 INetCfgComponentControl * iface)
3293 WCHAR szBuffer[200];
3296 DWORD DhcpApiVersion;
3300 pCurrentConfig =
This->pCurrentConfig;
3305 This->pCurrentConfig = pCurrentConfig;
3308 pOldConfig =
This->pCurrentConfig;
3309 This->pCurrentConfig = pCurrentConfig;
3316 if (pCurrentConfig->
pDNS)
3333 swprintf(szBuffer,
L"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters\\Interfaces\\%s", pStr);
3338 if (pCurrentConfig->
pDNS)
3384 if (pIpForwardTable)
3423 pCurrentConfig->
Index,
3448 if (pIpForwardTable)
3466 if (pCurrentConfig->
Gw)
3524 INetCfgComponentControl * iface,
3525 INetCfgPnpReconfigCallback *pICallback)
3534 INetCfgComponentControl * iface)
#define InterlockedIncrement
#define InterlockedDecrement
static void AddButton(HWND hwndToolBar, int nImage, int nCommand)
#define RegCloseKey(hKey)
#define ERROR_INSUFFICIENT_BUFFER
void WINAPI DhcpCApiCleanup(void)
DWORD APIENTRY DhcpCApiInitialize(LPDWORD Version)
DWORD APIENTRY DhcpStaticRefreshParams(DWORD AdapterIndex, DWORD Address, DWORD Netmask)
LONG WINAPI RegCreateKeyExW(_In_ HKEY hKey, _In_ LPCWSTR lpSubKey, _In_ DWORD Reserved, _In_opt_ LPWSTR lpClass, _In_ DWORD dwOptions, _In_ REGSAM samDesired, _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Out_ PHKEY phkResult, _Out_opt_ LPDWORD lpdwDisposition)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegDeleteValueW(HKEY hKey, LPCWSTR lpValueName)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
HPROPSHEETPAGE WINAPI CreatePropertySheetPageW(LPCPROPSHEETPAGEW lpPropSheetPage)
INT_PTR WINAPI PropertySheetW(LPCPROPSHEETHEADERW lppsh)
BOOL WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage)
#define MultiByteToWideChar
HINSTANCE netcfgx_hInstance
#define IDS_TCPFILTERDESC
#define IDS_DISABLE_FILTER
#define IDD_TCPIP_ADVOPT_DLG
#define IDC_DNSSUFFIXLIST
#define IDD_TCPIPADDIP_DLG
#define IDC_DNSSUFFIXDOWN
#define IDD_TCPIP_ALTCF_DLG
#define IDD_TCPIP_FILTER_DLG
#define IDD_TCPIP_ADVIP_DLG
#define IDS_DOMAIN_SUFFIX
#define IDC_UDP_ALLOW_ALL
#define IDC_TCP_ALLOW_ALL
#define IDS_NO_SUBMASK_SET
#define IDD_TCPIP_BASIC_DLG
#define IDD_TCPIPSUFFIX_DLG
#define IDD_TCPIP_ADVDNS_DLG
#define IDS_NO_IPADDR_SET
#define IDC_TOPPRIMSUFFIX
#define IDD_TCPIP_PORT_DLG
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR *idstr)
PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER pAddr
VOID WINAPI CoTaskMemFree(LPVOID ptr)
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
_Check_return_ _CRTIMP int __cdecl _wtoi(_In_z_ const wchar_t *_Str)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
DWORD WINAPI AddIPAddress(IPAddr Address, IPMask Netmask, DWORD IfIndex, PULONG NteContext, PULONG NteInstance)
DWORD WINAPI GetIpForwardTable(PMIB_IPFORWARDTABLE pIpForwardTable, PULONG pdwSize, BOOL bOrder)
DWORD WINAPI DeleteIpForwardEntry(PMIB_IPFORWARDROW pRoute)
DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
DWORD WINAPI GetPerAdapterInfo(ULONG IfIndex, PIP_PER_ADAPTER_INFO pPerAdapterInfo, PULONG pOutBufLen)
DWORD WINAPI CreateIpForwardEntry(PMIB_IPFORWARDROW pRoute)
DWORD WINAPI DeleteIPAddress(ULONG NTEContext)
struct _MIB_IPFORWARDTABLE * PMIB_IPFORWARDTABLE
struct _IP_PER_ADAPTER_INFO IP_PER_ADAPTER_INFO
struct _IP_PER_ADAPTER_INFO * PIP_PER_ADAPTER_INFO
TCHAR szTitle[MAX_LOADSTRING]
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
struct _PSP * HPROPSHEETPAGE
#define INetCfgComponentPropertyUi_AddRef(p)
#define INetCfgComponentPropertyUi_QueryInterface(p, a, b)
EXTERN_C const IID IID_INetCfgComponentPropertyUi
#define INetCfgComponentPropertyUi_Release(p)
EXTERN_C const IID IID_INetCfgComponentControl
EXTERN_C const IID IID_INetLanConnectionUiInfo
#define INetLanConnectionUiInfo_GetDeviceGuid(p, a)
_In_ ULONG _In_ ULONG _In_ ULONG Length
static const WCHAR szName[]
#define PropSheet_Changed(d, w)
struct _PROPSHEETPAGEW PROPSHEETPAGEW
struct _PROPSHEETHEADERW PROPSHEETHEADERW
struct _PSHNOTIFY * LPPSHNOTIFY
#define FOURTH_IPADDRESS(x)
struct tagNMIPADDRESS * LPNMIPADDRESS
#define MAKEIPADDRESS(b1, b2, b3, b4)
#define FIRST_IPADDRESS(x)
#define MAKEIPRANGE(low, high)
#define ListView_GetItemCount(hwnd)
#define SECOND_IPADDRESS(x)
struct tagNMLISTVIEW * LPNMLISTVIEW
#define LVM_INSERTCOLUMNW
#define THIRD_IPADDRESS(x)
#define ListView_DeleteItem(hwnd, i)
#define IsEqualIID(riid1, riid2)
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
DWORD EnableSecurityFilters
LPWSTR szRawIPAllowedProtocols
DWORD RegistrationEnabled
DWORD UseDomainNameDevolution
DWORD RegisterAdapterName
INetCfgComponent * pNComp
const INetCfgComponentControl * lpVtblCompControl
const INetCfgComponentPropertyUi * lpVtbl
TcpipSettings * pCurrentConfig
TcpipAdvancedDNSDlgSettings * pDNS
TcpFilterSettings * pFilter
IP_ADDR_STRING IpAddressList
char AdapterName[MAX_ADAPTER_NAME_LENGTH+4]
IP_ADDR_STRING GatewayList
struct _IP_ADAPTER_INFO * Next
struct _IP_ADDR_STRING * Next
IP_ADDRESS_STRING IpAddress
IP_ADDR_STRING DnsServerList
IF_INDEX dwForwardIfIndex
MIB_IPFORWARDROW table[1]
struct _SINGLE_LIST_ENTRY * Next
INT_PTR CALLBACK TcpipFilterSettingsDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
HPROPSHEETPAGE InitializePropertySheetPage(LPWSTR resname, DLGPROC dlgproc, LPARAM lParam, LPWSTR szTitle)
HRESULT WINAPI INetCfgComponentPropertyUi_fnCancelProperties(INetCfgComponentPropertyUi *iface)
HRESULT InitializeTcpipBasicDlgCtrls(HWND hwndDlg, TcpipSettings *pCurSettings)
struct tagIP_ADDR IP_ADDR
HRESULT CopyIpAddrString(IP_ADDR_STRING *pSrc, IP_ADDR **pTarget, COPY_TYPE Type, LPWSTR szMetric)
HRESULT WINAPI INetCfgComponentPropertyUi_fnMergePropPages(INetCfgComponentPropertyUi *iface, DWORD *pdwDefPages, BYTE **pahpspPrivate, UINT *pcPages, HWND hwndParent, LPCWSTR *pszStartPage)
UINT GetIpAddressFromStringW(WCHAR *szBuffer)
VOID DisplayError(UINT ResTxt, UINT ResTitle, UINT Type)
VOID InitializeTcpipAdvancedIpDlg(HWND hwndDlg, TcpipConfNotifyImpl *This)
HRESULT WINAPI INetCfgComponentControl_fnQueryInterface(INetCfgComponentControl *iface, REFIID iid, LPVOID *ppvObj)
VOID FreeIPAddr(IP_ADDR *pAddr)
LPWSTR LoadTcpFilterSettingsFromRegistry(HKEY hKey, LPCWSTR szName, LPDWORD Size)
VOID InsertIpAddressToListView(HWND hDlgCtrl, IP_ADDR *pAddr, BOOL bSubMask)
VOID StoreIPSettings(HWND hDlgCtrl, TcpipConfNotifyImpl *This, BOOL bSubmask)
VOID LaunchAdvancedTcpipSettings(HWND hwndDlg, TcpipConfNotifyImpl *This)
LPWSTR CreateFilterList(HWND hDlgCtrl, LPDWORD Size)
VOID DeleteItemFromList(HWND hDlgCtrl)
BOOL GetGWListEntry(HWND hDlgCtrl, INT Index, TcpipGwSettings *pGwSettings)
static int CALLBACK PropSheetProc(HWND hwndDlg, UINT uMsg, LPARAM lParam)
VOID AddAlternativeDialog(HWND hDlg, TcpipConfNotifyImpl *This)
HRESULT WINAPI INetCfgComponentPropertyUi_fnQueryPropertyUi(INetCfgComponentPropertyUi *iface, IUnknown *pUnkReserved)
static VOID DelItem(HWND hDlgCtrl)
UINT GetIpAddressFromStringA(char *sBuffer)
INT_PTR CALLBACK TcpipAdvancedDnsDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static __inline LPTcpipConfNotifyImpl impl_from_INetCfgComponentControl(INetCfgComponentControl *iface)
HRESULT WINAPI INetCfgComponentControl_fnCancelChanges(INetCfgComponentControl *iface)
HRESULT WINAPI INetCfgComponentControl_fnInitialize(INetCfgComponentControl *iface, INetCfgComponent *pIComp, INetCfg *pINetCfg, BOOL fInstalling)
BOOL VerifyDNSSuffix(LPWSTR szName)
HRESULT LoadFilterSettings(TcpipConfNotifyImpl *This)
VOID InsertColumnToListView(HWND hDlgCtrl, UINT ResId, UINT SubItem, UINT Size)
VOID MoveItem(HWND hDlgCtrl, INT pos)
HRESULT WINAPI INetCfgComponentControl_fnApplyPnpChanges(INetCfgComponentControl *iface, INetCfgPnpReconfigCallback *pICallback)
HRESULT LoadDNSSettings(TcpipConfNotifyImpl *This)
INT GetSelectedItem(HWND hDlgCtrl)
ULONG WINAPI INetCfgComponentPropertyUi_fnAddRef(INetCfgComponentPropertyUi *iface)
INT_PTR CALLBACK TcpipFilterPortDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
TcpFilterSettings * StoreTcpipFilterSettings(HWND hwndDlg)
BOOL GetListViewItem(HWND hDlgCtrl, UINT Index, UINT SubIndex, WCHAR *szBuffer, UINT BufferSize)
HRESULT WINAPI INetCfgComponentPropertyUi_fnApplyProperties(INetCfgComponentPropertyUi *iface)
HRESULT WINAPI INetCfgComponentPropertyUi_fnSetContext(INetCfgComponentPropertyUi *iface, IUnknown *pUnkReserved)
VOID RemoveItem(HWND hDlgCtrl)
static LPWSTR CreateMultiSzString(IP_ADDR *pAddr, COPY_TYPE Type, LPDWORD Size, BOOL bComma)
INT_PTR CALLBACK TcpipAddSuffixDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
INT_PTR CALLBACK TcpipAdvancedOptDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
INT_PTR StoreTcpipBasicSettings(HWND hwndDlg, TcpipConfNotifyImpl *This, BOOL bApply)
HRESULT WINAPI INetCfgComponentPropertyUi_fnValidateProperties(INetCfgComponentPropertyUi *iface, HWND hwndDlg)
HRESULT WINAPI INetCfgComponentPropertyUi_fnQueryInterface(INetCfgComponentPropertyUi *iface, REFIID iid, LPVOID *ppvObj)
ULONG WINAPI INetCfgComponentPropertyUi_fnRelease(INetCfgComponentPropertyUi *iface)
HRESULT InitializeTcpipAltDlgCtrls(HWND hwndDlg, TcpipSettings *pCurSettings)
static const INetCfgComponentControlVtbl vt_NetCfgComponentControl
VOID InitializeTcpipAdvancedDNSDlg(HWND hwndDlg, TcpipConfNotifyImpl *This)
INT_PTR CALLBACK TcpipAdvancedIpDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
VOID InitFilterListBox(LPWSTR pData, HWND hwndDlg, HWND hDlgCtrl, UINT AllowButton, UINT RestrictButton, UINT AddButton, UINT DelButton)
VOID StoreDNSSettings(HWND hDlgCtrl, TcpipConfNotifyImpl *This)
INT_PTR CALLBACK TcpipAltConfDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
VOID ToggleUpDown(HWND hwndDlg, HWND hDlgCtrl, UINT UpButton, UINT DownButton, UINT ModButton, UINT DelButton)
INT_PTR CALLBACK TcpipAddDNSDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
VOID InitializeTcpipAdvancedOptDlg(HWND hwndDlg, TcpipConfNotifyImpl *This)
static const INetCfgComponentPropertyUiVtbl vt_NetCfgComponentPropertyUi
ULONG WINAPI INetCfgComponentControl_fnRelease(INetCfgComponentControl *iface)
INT_PTR CALLBACK TcpipAddIpDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
HRESULT WINAPI TcpipConfigNotify_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv)
ULONG WINAPI INetCfgComponentControl_fnAddRef(INetCfgComponentControl *iface)
HRESULT WINAPI INetCfgComponentControl_fnApplyRegistryChanges(INetCfgComponentControl *iface)
LPWSTR GetListViewEntries(HWND hDlgCtrl)
BOOL GetIPListEntry(HWND hDlgCtrl, INT Index, TcpipIpSettings *pIpSettings)
INT_PTR CALLBACK TcpipAdvGwDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
INT_PTR CALLBACK TcpipBasicDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
struct TcpipConfNotifyImpl * LPTcpipConfNotifyImpl
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
#define FIELD_OFFSET(t, f)
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
_In_ WDFCOLLECTION _In_ ULONG Index
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
#define ERROR_BUFFER_OVERFLOW
#define HKEY_LOCAL_MACHINE
BOOL WINAPI CheckDlgButton(_In_ HWND, _In_ int, _In_ UINT)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
LRESULT WINAPI SendDlgItemMessageW(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
UINT WINAPI IsDlgButtonChecked(_In_ HWND, _In_ int)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI SetDlgItemInt(_In_ HWND, _In_ int, _In_ UINT, _In_ BOOL)
HWND WINAPI SetFocus(_In_opt_ HWND)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
HWND WINAPI GetParent(_In_ HWND)
BOOL WINAPI CheckRadioButton(_In_ HWND, _In_ int, _In_ int, _In_ int)
#define MB_ICONINFORMATION
UINT WINAPI GetDlgItemInt(_In_ HWND, _In_ int, _Out_opt_ PBOOL, _In_ BOOL)
#define MAKEINTRESOURCEW(i)
#define SendDlgItemMessage
LRESULT WINAPI SendDlgItemMessageA(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
INT_PTR WINAPI DialogBoxParamW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)