https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c6142174af35849b742f0…
commit c6142174af35849b742f0cb65de398eea503f121
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Mon Oct 1 21:15:24 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Mon Oct 1 21:16:22 2018 +0200
[NETCFGX] Network property page: Implement reading of configured settings. Editing
and writing is not implemented yet.
---
dll/win32/netcfgx/lang/bg-BG.rc | 9 +
dll/win32/netcfgx/lang/cs-CZ.rc | 9 +
dll/win32/netcfgx/lang/da-DK.rc | 9 +
dll/win32/netcfgx/lang/de-DE.rc | 9 +
dll/win32/netcfgx/lang/el-GR.rc | 9 +
dll/win32/netcfgx/lang/en-US.rc | 9 +
dll/win32/netcfgx/lang/es-ES.rc | 9 +
dll/win32/netcfgx/lang/fr-FR.rc | 9 +
dll/win32/netcfgx/lang/he-IL.rc | 9 +
dll/win32/netcfgx/lang/hu-HU.rc | 9 +
dll/win32/netcfgx/lang/id-ID.rc | 9 +
dll/win32/netcfgx/lang/it-IT.rc | 9 +
dll/win32/netcfgx/lang/ja-JP.rc | 9 +
dll/win32/netcfgx/lang/nl-NL.rc | 9 +
dll/win32/netcfgx/lang/no-NO.rc | 9 +
dll/win32/netcfgx/lang/pl-PL.rc | 9 +
dll/win32/netcfgx/lang/ro-RO.rc | 9 +
dll/win32/netcfgx/lang/ru-RU.rc | 9 +
dll/win32/netcfgx/lang/sk-SK.rc | 9 +
dll/win32/netcfgx/lang/sq-AL.rc | 9 +
dll/win32/netcfgx/lang/sv-SE.rc | 9 +
dll/win32/netcfgx/lang/tr-TR.rc | 9 +
dll/win32/netcfgx/lang/uk-UA.rc | 9 +
dll/win32/netcfgx/lang/zh-CN.rc | 9 +
dll/win32/netcfgx/lang/zh-TW.rc | 9 +
dll/win32/netcfgx/precomp.h | 1 +
dll/win32/netcfgx/propertypage.c | 457 ++++++++++++++++++++++++++++++++++++++-
dll/win32/netcfgx/resource.h | 7 +
28 files changed, 683 insertions(+), 7 deletions(-)
diff --git a/dll/win32/netcfgx/lang/bg-BG.rc b/dll/win32/netcfgx/lang/bg-BG.rc
index 03b8e8a043..bd32f6909c 100644
--- a/dll/win32/netcfgx/lang/bg-BG.rc
+++ b/dll/win32/netcfgx/lang/bg-BG.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/cs-CZ.rc b/dll/win32/netcfgx/lang/cs-CZ.rc
index 007a4e1dee..073c80c6ed 100644
--- a/dll/win32/netcfgx/lang/cs-CZ.rc
+++ b/dll/win32/netcfgx/lang/cs-CZ.rc
@@ -206,6 +206,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/da-DK.rc b/dll/win32/netcfgx/lang/da-DK.rc
index 5c0d0a5ac7..bb9fd14bac 100644
--- a/dll/win32/netcfgx/lang/da-DK.rc
+++ b/dll/win32/netcfgx/lang/da-DK.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/de-DE.rc b/dll/win32/netcfgx/lang/de-DE.rc
index 19479ceac5..f81f50bdb3 100644
--- a/dll/win32/netcfgx/lang/de-DE.rc
+++ b/dll/win32/netcfgx/lang/de-DE.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Erweitert"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "Folgende Eigenschaften sind für diesen Netzwerkadapter verfügbar. Klicken
Sie links auf die Eigenschaft, die geändert werden soll, und wählen Sie den Wert auf der
rechten Seite aus.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Eigenschaft:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Wert:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Nicht vorhanden", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103,
10, BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/el-GR.rc b/dll/win32/netcfgx/lang/el-GR.rc
index 3bb1fc04e7..bbb34b01f4 100644
--- a/dll/win32/netcfgx/lang/el-GR.rc
+++ b/dll/win32/netcfgx/lang/el-GR.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/en-US.rc b/dll/win32/netcfgx/lang/en-US.rc
index feea1713ac..2c29dcbda2 100644
--- a/dll/win32/netcfgx/lang/en-US.rc
+++ b/dll/win32/netcfgx/lang/en-US.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/es-ES.rc b/dll/win32/netcfgx/lang/es-ES.rc
index 6ea5be2a73..950015b1ff 100644
--- a/dll/win32/netcfgx/lang/es-ES.rc
+++ b/dll/win32/netcfgx/lang/es-ES.rc
@@ -202,6 +202,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/fr-FR.rc b/dll/win32/netcfgx/lang/fr-FR.rc
index b696364a18..eb29c4b294 100644
--- a/dll/win32/netcfgx/lang/fr-FR.rc
+++ b/dll/win32/netcfgx/lang/fr-FR.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/he-IL.rc b/dll/win32/netcfgx/lang/he-IL.rc
index 34716189bd..056affbb53 100644
--- a/dll/win32/netcfgx/lang/he-IL.rc
+++ b/dll/win32/netcfgx/lang/he-IL.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/hu-HU.rc b/dll/win32/netcfgx/lang/hu-HU.rc
index d89e15db9a..6fe00e2a77 100644
--- a/dll/win32/netcfgx/lang/hu-HU.rc
+++ b/dll/win32/netcfgx/lang/hu-HU.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/id-ID.rc b/dll/win32/netcfgx/lang/id-ID.rc
index 5bf8d0ba8b..bc341c134e 100644
--- a/dll/win32/netcfgx/lang/id-ID.rc
+++ b/dll/win32/netcfgx/lang/id-ID.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/it-IT.rc b/dll/win32/netcfgx/lang/it-IT.rc
index 1be24d196f..a5af3dc350 100644
--- a/dll/win32/netcfgx/lang/it-IT.rc
+++ b/dll/win32/netcfgx/lang/it-IT.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/ja-JP.rc b/dll/win32/netcfgx/lang/ja-JP.rc
index f546e31715..242fab9325 100644
--- a/dll/win32/netcfgx/lang/ja-JP.rc
+++ b/dll/win32/netcfgx/lang/ja-JP.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/nl-NL.rc b/dll/win32/netcfgx/lang/nl-NL.rc
index 299c0fe5bb..dd893c8061 100644
--- a/dll/win32/netcfgx/lang/nl-NL.rc
+++ b/dll/win32/netcfgx/lang/nl-NL.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/no-NO.rc b/dll/win32/netcfgx/lang/no-NO.rc
index 4b6b0d54ed..96f254bf6a 100644
--- a/dll/win32/netcfgx/lang/no-NO.rc
+++ b/dll/win32/netcfgx/lang/no-NO.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/pl-PL.rc b/dll/win32/netcfgx/lang/pl-PL.rc
index 8ea8cf18d8..5bd9bf8995 100644
--- a/dll/win32/netcfgx/lang/pl-PL.rc
+++ b/dll/win32/netcfgx/lang/pl-PL.rc
@@ -207,6 +207,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/ro-RO.rc b/dll/win32/netcfgx/lang/ro-RO.rc
index 299eaec46e..97f9869328 100644
--- a/dll/win32/netcfgx/lang/ro-RO.rc
+++ b/dll/win32/netcfgx/lang/ro-RO.rc
@@ -206,6 +206,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/ru-RU.rc b/dll/win32/netcfgx/lang/ru-RU.rc
index cfecc1b962..4437d73127 100644
--- a/dll/win32/netcfgx/lang/ru-RU.rc
+++ b/dll/win32/netcfgx/lang/ru-RU.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/sk-SK.rc b/dll/win32/netcfgx/lang/sk-SK.rc
index 7ea1f8eb4f..38ba38296a 100644
--- a/dll/win32/netcfgx/lang/sk-SK.rc
+++ b/dll/win32/netcfgx/lang/sk-SK.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/sq-AL.rc b/dll/win32/netcfgx/lang/sq-AL.rc
index 261a22a088..694945b1a6 100644
--- a/dll/win32/netcfgx/lang/sq-AL.rc
+++ b/dll/win32/netcfgx/lang/sq-AL.rc
@@ -205,6 +205,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/sv-SE.rc b/dll/win32/netcfgx/lang/sv-SE.rc
index dd2c3502d1..3ab171db76 100644
--- a/dll/win32/netcfgx/lang/sv-SE.rc
+++ b/dll/win32/netcfgx/lang/sv-SE.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/tr-TR.rc b/dll/win32/netcfgx/lang/tr-TR.rc
index 3dcaa7a889..ad6db04169 100644
--- a/dll/win32/netcfgx/lang/tr-TR.rc
+++ b/dll/win32/netcfgx/lang/tr-TR.rc
@@ -202,6 +202,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/uk-UA.rc b/dll/win32/netcfgx/lang/uk-UA.rc
index c4a0d1d37c..ac53abf3df 100644
--- a/dll/win32/netcfgx/lang/uk-UA.rc
+++ b/dll/win32/netcfgx/lang/uk-UA.rc
@@ -200,6 +200,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/zh-CN.rc b/dll/win32/netcfgx/lang/zh-CN.rc
index 755762a2f1..54b030f174 100644
--- a/dll/win32/netcfgx/lang/zh-CN.rc
+++ b/dll/win32/netcfgx/lang/zh-CN.rc
@@ -208,6 +208,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/lang/zh-TW.rc b/dll/win32/netcfgx/lang/zh-TW.rc
index 82f1cc5238..b60cf4857a 100644
--- a/dll/win32/netcfgx/lang/zh-TW.rc
+++ b/dll/win32/netcfgx/lang/zh-TW.rc
@@ -208,6 +208,15 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Advanced"
FONT 8, "MS Shell Dlg"
BEGIN
+ LTEXT "The following properties are available for this network adapter. Click
the property you want to change on the left, and then select its value on the
right.", -1, 7, 7, 218, 24, WS_GROUP
+ LTEXT "&Property:", -1, 7, 37, 60, 8, WS_GROUP
+ LISTBOX IDC_PROPERTY_NAME, 7, 48, 124, 124, LBS_STANDARD | WS_TABSTOP
+ LTEXT "&Value:", -1, 151, 37, 60, 8, WS_GROUP
+ EDITTEXT IDC_PROPERTY_VALUE_EDIT, 153, 48, 92, 14, ES_LEFT | ES_AUTOHSCROLL |
WS_BORDER | WS_TABSTOP
+ CONTROL "", IDC_PROPERTY_VALUE_UPDN, "msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_BORDER, 232, 48, 12, 12
+ COMBOBOX IDC_PROPERTY_VALUE_LIST, 153, 48, 92, 64, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ RADIOBUTTON "", IDC_PROPERTY_PRESENT, 141, 50, 8, 10, BS_TOP | WS_GROUP
+ RADIOBUTTON "&Not Present", IDC_PROPERTY_NOT_PRESENT, 141, 68, 103, 10,
BS_TOP
END
STRINGTABLE
diff --git a/dll/win32/netcfgx/precomp.h b/dll/win32/netcfgx/precomp.h
index b8c69a583e..ed736aea49 100644
--- a/dll/win32/netcfgx/precomp.h
+++ b/dll/win32/netcfgx/precomp.h
@@ -14,6 +14,7 @@
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
+#include <windowsx.h>
#include <objbase.h>
#include <netcfgx.h>
#include <setupapi.h>
diff --git a/dll/win32/netcfgx/propertypage.c b/dll/win32/netcfgx/propertypage.c
index 65f667835b..fe9f48f852 100644
--- a/dll/win32/netcfgx/propertypage.c
+++ b/dll/win32/netcfgx/propertypage.c
@@ -7,6 +7,441 @@
#include "precomp.h"
+typedef enum _PARAM_TYPE
+{
+ NO_TYPE,
+ INT_TYPE,
+ LONG_TYPE,
+ WORD_TYPE,
+ DWORD_TYPE,
+ EDIT_TYPE,
+ ENUM_TYPE,
+} PARAM_TYPE, *PPARAM_TYPE;
+
+typedef struct _PARAMETER
+{
+ PWSTR pszName;
+ PWSTR pszDescription;
+ PWSTR pszValue;
+ PWSTR pszDefault;
+ PARAM_TYPE Type;
+ BOOL bUpperCase;
+ BOOL bOptional;
+ INT iLimitText;
+
+} PARAMETER, *PPARAMETER;
+
+typedef struct _PARAMETER_ARRAY
+{
+ DWORD dwCount;
+ PARAMETER Array[0];
+} PARAMETER_ARRAY, *PPARAMETER_ARRAY;
+
+
+static
+VOID
+FreeParameterArray(
+ _In_ PPARAMETER_ARRAY ParamArray)
+{
+ INT i;
+
+ if (ParamArray == NULL)
+ return;
+
+ for (i = 0; i < ParamArray->dwCount; i++)
+ {
+ if (ParamArray->Array[i].pszName != NULL)
+ HeapFree(GetProcessHeap(), 0, ParamArray->Array[i].pszName);
+
+ if (ParamArray->Array[i].pszDescription != NULL)
+ HeapFree(GetProcessHeap(), 0, ParamArray->Array[i].pszDescription);
+
+ if (ParamArray->Array[i].pszDefault != NULL)
+ HeapFree(GetProcessHeap(), 0, ParamArray->Array[i].pszDefault);
+
+ }
+
+ HeapFree(GetProcessHeap(), 0, ParamArray);
+}
+
+
+static DWORD
+GetValueString(
+ IN HKEY hKey,
+ IN LPWSTR lpValueName,
+ OUT LPWSTR *lpString)
+{
+ LPWSTR lpBuffer;
+ DWORD dwLength = 0;
+ DWORD dwRegType;
+ DWORD rc;
+
+ *lpString = NULL;
+
+ RegQueryValueExW(hKey, lpValueName, NULL, &dwRegType, NULL, &dwLength);
+
+ if (dwLength == 0 || dwRegType != REG_SZ)
+ return ERROR_FILE_NOT_FOUND;
+
+ lpBuffer = HeapAlloc(GetProcessHeap(), 0, dwLength + sizeof(WCHAR));
+ if (lpBuffer == NULL)
+ return ERROR_NOT_ENOUGH_MEMORY;
+
+ rc = RegQueryValueExW(hKey, lpValueName, NULL, NULL, (LPBYTE)lpBuffer,
&dwLength);
+ if (rc != ERROR_SUCCESS)
+ {
+ HeapFree(GetProcessHeap(), 0, lpBuffer);
+ return rc;
+ }
+
+ lpBuffer[dwLength / sizeof(WCHAR)] = UNICODE_NULL;
+
+ *lpString = lpBuffer;
+
+ return ERROR_SUCCESS;
+}
+
+
+static
+BOOL
+BuildParameterArray(
+ _In_ HDEVINFO DeviceInfoSet,
+ _In_ PSP_DEVINFO_DATA DeviceInfoData,
+ _Out_ PPARAMETER_ARRAY *ParameterArray)
+{
+ HKEY hDriverKey = INVALID_HANDLE_VALUE;
+ HKEY hParamsKey = INVALID_HANDLE_VALUE;
+ HKEY hParamKey;
+ PPARAMETER_ARRAY ParamArray = NULL;
+ DWORD dwSubKeys, dwMaxSubKeyLen, dwKeyLen, dwIndex;
+ PWSTR pszType = NULL;
+ LONG lError;
+ BOOL ret = FALSE;
+
+ hDriverKey = SetupDiOpenDevRegKey(DeviceInfoSet,
+ DeviceInfoData,
+ DICS_FLAG_GLOBAL,
+ 0,
+ DIREG_DRV,
+ KEY_READ);
+ if (hDriverKey == INVALID_HANDLE_VALUE)
+ {
+ ERR("SetupDiOpenDevRegKey() failed\n");
+ return FALSE;
+ }
+
+ lError = RegOpenKeyExW(hDriverKey,
+ L"Ndi\\Params",
+ 0,
+ KEY_READ,
+ &hParamsKey);
+ if (lError != ERROR_SUCCESS)
+ {
+ ERR("RegOpenKeyExW failed (Error %lu)\n", lError);
+ goto done;
+ }
+
+ lError = RegQueryInfoKeyW(hParamsKey,
+ NULL,
+ NULL,
+ NULL,
+ &dwSubKeys,
+ &dwMaxSubKeyLen,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL);
+ if (lError != ERROR_SUCCESS)
+ {
+ ERR("RegOpenKeyExW failed (Error %lu)\n", lError);
+ goto done;
+ }
+
+ FIXME("Sub keys: %lu\n", dwSubKeys);
+
+ if (dwSubKeys == 0)
+ {
+ TRACE("No sub keys. Done!\n");
+ goto done;
+ }
+
+ ParamArray = HeapAlloc(GetProcessHeap(),
+ HEAP_ZERO_MEMORY,
+ sizeof(PARAMETER_ARRAY) + (dwSubKeys * sizeof(PARAMETER)));
+ if (ParamArray == NULL)
+ {
+ ERR("Parameter array allocation failed!\n");
+ goto done;
+ }
+
+ ParamArray->dwCount = dwSubKeys;
+
+ dwMaxSubKeyLen++;
+
+ for (dwIndex = 0; dwIndex < dwSubKeys; dwIndex++)
+ {
+ ParamArray->Array[dwIndex].pszName = HeapAlloc(GetProcessHeap(),
+ 0,
+ dwMaxSubKeyLen * sizeof(WCHAR));
+ if (ParamArray->Array[dwIndex].pszName == NULL)
+ {
+ ERR("Parameter array allocation failed!\n");
+ goto done;
+ }
+
+ dwKeyLen = dwMaxSubKeyLen;
+ lError = RegEnumKeyExW(hParamsKey,
+ dwIndex,
+ ParamArray->Array[dwIndex].pszName,
+ &dwKeyLen,
+ NULL,
+ NULL,
+ NULL,
+ NULL);
+ if (lError != ERROR_SUCCESS)
+ break;
+
+ FIXME("Sub key '%S'\n",
ParamArray->Array[dwIndex].pszName);
+
+ lError = RegOpenKeyExW(hParamsKey,
+ ParamArray->Array[dwIndex].pszName,
+ 0,
+ KEY_READ,
+ &hParamKey);
+ if (lError == ERROR_SUCCESS)
+ {
+ GetValueString(hParamKey,
+ L"ParamDesc",
+ &ParamArray->Array[dwIndex].pszDescription);
+
+ GetValueString(hParamKey,
+ L"Type",
+ &pszType);
+ if (pszType != NULL)
+ {
+ if (_wcsicmp(pszType, L"int") == 0)
+ ParamArray->Array[dwIndex].Type = INT_TYPE;
+ else if (_wcsicmp(pszType, L"long") == 0)
+ ParamArray->Array[dwIndex].Type = LONG_TYPE;
+ else if (_wcsicmp(pszType, L"word") == 0)
+ ParamArray->Array[dwIndex].Type = WORD_TYPE;
+ else if (_wcsicmp(pszType, L"dword") == 0)
+ ParamArray->Array[dwIndex].Type = DWORD_TYPE;
+ else if (_wcsicmp(pszType, L"edit") == 0)
+ ParamArray->Array[dwIndex].Type = EDIT_TYPE;
+ else if (_wcsicmp(pszType, L"enum") == 0)
+ ParamArray->Array[dwIndex].Type = ENUM_TYPE;
+ else
+ ParamArray->Array[dwIndex].Type = NO_TYPE;
+
+ HeapFree(GetProcessHeap(), 0, pszType);
+ pszType = NULL;
+ }
+
+ GetValueString(hParamKey,
+ L"Default",
+ &ParamArray->Array[dwIndex].pszDefault);
+
+ ParamArray->Array[dwIndex].bUpperCase = FALSE;
+ ParamArray->Array[dwIndex].bOptional = FALSE;
+ ParamArray->Array[dwIndex].iLimitText = 0;
+
+ RegCloseKey(hParamKey);
+ }
+
+ GetValueString(hDriverKey,
+ ParamArray->Array[dwIndex].pszName,
+ &ParamArray->Array[dwIndex].pszValue);
+ }
+
+ *ParameterArray = ParamArray;
+ ret = TRUE;
+
+done:
+ if (ret == FALSE && ParamArray != NULL)
+ FreeParameterArray(ParamArray);
+
+ if (hParamsKey != INVALID_HANDLE_VALUE)
+ RegCloseKey(hParamsKey);
+
+ if (hDriverKey != INVALID_HANDLE_VALUE)
+ RegCloseKey(hDriverKey);
+
+ return ret;
+}
+
+
+static
+VOID
+DisplayParameter(
+ HWND hwnd,
+ PPARAMETER Parameter)
+{
+ LONG_PTR Style;
+
+ ShowWindow(GetDlgItem(hwnd, IDC_PROPERTY_PRESENT), (Parameter->bOptional) ?
SW_SHOW : SW_HIDE);
+ ShowWindow(GetDlgItem(hwnd, IDC_PROPERTY_NOT_PRESENT), (Parameter->bOptional) ?
SW_SHOW : SW_HIDE);
+
+ switch (Parameter->Type)
+ {
+ case INT_TYPE:
+ case LONG_TYPE:
+ case WORD_TYPE:
+ case DWORD_TYPE:
+ ShowWindow(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT), SW_SHOW);
+ ShowWindow(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_UPDN), SW_SHOW);
+ ShowWindow(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_LIST), SW_HIDE);
+
+ Style = GetWindowLongPtr(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT),
GWL_STYLE);
+ Style |= ES_NUMBER;
+ SetWindowLongPtr(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT), GWL_STYLE,
Style);
+
+ Edit_LimitText(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT), 0);
+
+ if (Parameter->pszValue)
+ Edit_SetText(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT),
Parameter->pszValue);
+ else if (Parameter->pszDefault)
+ Edit_SetText(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT),
Parameter->pszDefault);
+ break;
+
+ case EDIT_TYPE:
+ ShowWindow(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT), SW_SHOW);
+ ShowWindow(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_UPDN), SW_HIDE);
+ ShowWindow(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_LIST), SW_HIDE);
+
+ Style = GetWindowLongPtr(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT),
GWL_STYLE);
+ Style &= ~ES_NUMBER;
+ if (Parameter->bUpperCase)
+ Style |= ES_UPPERCASE;
+ else
+ Style &= ~ES_UPPERCASE;
+ SetWindowLongPtr(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT), GWL_STYLE,
Style);
+
+ Edit_LimitText(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT),
Parameter->iLimitText);
+
+ if (Parameter->pszValue)
+ Edit_SetText(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT),
Parameter->pszValue);
+ else if (Parameter->pszDefault)
+ Edit_SetText(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT),
Parameter->pszDefault);
+ break;
+
+ case ENUM_TYPE:
+ ShowWindow(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT), SW_HIDE);
+ ShowWindow(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_UPDN), SW_HIDE);
+ ShowWindow(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_LIST), SW_SHOW);
+
+ if (Parameter->pszValue)
+ Edit_SetText(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT),
Parameter->pszValue);
+ else if (Parameter->pszDefault)
+ Edit_SetText(GetDlgItem(hwnd, IDC_PROPERTY_VALUE_EDIT),
Parameter->pszDefault);
+ break;
+
+ default:
+ break;
+ }
+}
+
+
+static
+BOOL
+OnInitDialog(
+ HWND hwnd,
+ WPARAM wParam,
+ LPARAM lParam)
+{
+ PPARAMETER_ARRAY pParamArray;
+ HWND hwndControl;
+ PWSTR pszText;
+ DWORD i;
+
+ FIXME("OnInitDialog()\n");
+
+ pParamArray = (PPARAMETER_ARRAY)((LPPROPSHEETPAGEW)lParam)->lParam;
+ if (pParamArray == NULL)
+ {
+ ERR("pParamArray is NULL\n");
+ return FALSE;
+ }
+
+ SetWindowLongPtr(hwnd, DWLP_USER, (LONG_PTR)pParamArray);
+
+ hwndControl = GetDlgItem(hwnd, IDC_PROPERTY_NAME);
+ if (hwndControl)
+ {
+ for (i = 0; i < pParamArray->dwCount; i++)
+ {
+ if (pParamArray->Array[i].pszDescription != NULL)
+ pszText = pParamArray->Array[i].pszDescription;
+ else
+ pszText = pParamArray->Array[i].pszName;
+
+ ListBox_AddString(hwndControl, pszText);
+ }
+
+ if (pParamArray->dwCount > 0)
+ {
+ ListBox_SetCurSel(hwndControl, 0);
+ DisplayParameter(hwnd, &pParamArray->Array[0]);
+ }
+ }
+
+ return TRUE;
+}
+
+
+static
+VOID
+OnCommand(
+ HWND hwnd,
+ WPARAM wParam,
+ LPARAM lParam)
+{
+ PPARAMETER_ARRAY pParamArray;
+ INT iIndex;
+
+ TRACE("OnCommand()\n");
+
+ pParamArray = (PPARAMETER_ARRAY)GetWindowLongPtr(hwnd, DWLP_USER);
+ if (pParamArray == NULL)
+ {
+ ERR("pParamArray is NULL\n");
+ return;
+ }
+
+ if ((LOWORD(wParam) == IDC_PROPERTY_NAME) && (HIWORD(wParam) ==
LBN_SELCHANGE))
+ {
+ iIndex = ListBox_GetCurSel((HWND)lParam);
+ if (iIndex != LB_ERR && iIndex < pParamArray->dwCount)
+ {
+ DisplayParameter(hwnd, &pParamArray->Array[iIndex]);
+ }
+ }
+}
+
+
+static
+VOID
+OnDestroy(
+ HWND hwnd)
+{
+ PPARAMETER_ARRAY pParamArray;
+
+ FIXME("OnDestroy()\n");
+
+ pParamArray = (PPARAMETER_ARRAY)GetWindowLongPtr(hwnd, DWLP_USER);
+ if (pParamArray == NULL)
+ {
+ ERR("pParamArray is NULL\n");
+ return;
+ }
+
+ FreeParameterArray(pParamArray);
+ SetWindowLongPtr(hwnd, DWLP_USER, (LONG_PTR)NULL);
+}
+
+
static
INT_PTR
CALLBACK
@@ -19,13 +454,15 @@ NetPropertyPageDlgProc(
switch (uMsg)
{
case WM_INITDIALOG:
- ERR("NetPropertyPageDlgProc: WM_INITDIALOG\n");
- return TRUE;
-// return OnInitDialog(hwnd, wParam, lParam);
+ return OnInitDialog(hwnd, wParam, lParam);
-// case WM_DESTROY:
-// OnDestroy(hwnd);
-// break;
+ case WM_COMMAND:
+ OnCommand(hwnd, wParam, lParam);
+ break;
+
+ case WM_DESTROY:
+ OnDestroy(hwnd);
+ break;
default:
break;
@@ -44,10 +481,16 @@ NetPropPageProvider(
{
PROPSHEETPAGEW PropSheetPage;
HPROPSHEETPAGE hPropSheetPage;
+ PPARAMETER_ARRAY ParameterArray = NULL;
ERR("NetPropPageProvider(%p %p %lx)\n",
lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam);
+ if (!BuildParameterArray(lpPropSheetPageRequest->DeviceInfoSet,
+ lpPropSheetPageRequest->DeviceInfoData,
+ &ParameterArray))
+ return FALSE;
+
if (lpPropSheetPageRequest->PageRequested == SPPSR_ENUM_ADV_DEVICE_PROPERTIES)
{
ERR("SPPSR_ENUM_ADV_DEVICE_PROPERTIES\n");
@@ -57,7 +500,7 @@ NetPropPageProvider(
PropSheetPage.hInstance = netcfgx_hInstance;
PropSheetPage.u.pszTemplate = MAKEINTRESOURCE(IDD_NET_PROPERTY_DLG);
PropSheetPage.pfnDlgProc = NetPropertyPageDlgProc;
- PropSheetPage.lParam = 0;
+ PropSheetPage.lParam = (LPARAM)ParameterArray;
PropSheetPage.pfnCallback = NULL;
hPropSheetPage = CreatePropertySheetPageW(&PropSheetPage);
diff --git a/dll/win32/netcfgx/resource.h b/dll/win32/netcfgx/resource.h
index cb32ceb787..ac58a2234c 100644
--- a/dll/win32/netcfgx/resource.h
+++ b/dll/win32/netcfgx/resource.h
@@ -83,6 +83,13 @@
#define IDC_PORT_DESC 7016
#define IDC_PORT_VAL 7017
+#define IDC_PROPERTY_NAME 7100
+#define IDC_PROPERTY_VALUE_EDIT 7101
+#define IDC_PROPERTY_VALUE_UPDN 7102
+#define IDC_PROPERTY_VALUE_LIST 7103
+#define IDC_PROPERTY_PRESENT 7104
+#define IDC_PROPERTY_NOT_PRESENT 7105
+
/* strings */
#define IDS_NET_CONNECT 8000
#define IDS_NO_IPADDR_SET 8001