https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e8f8536f9be1d8c1dcefe…
commit e8f8536f9be1d8c1dcefe8bdf51188d407c8251b
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Apr 22 14:26:11 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Apr 22 14:26:11 2018 +0200
[SYSSETUP] Add the property sheet page and initialize it
- Add the wheel detection option strings.
- Add the property sheet page and initialize the dialog.
---
dll/win32/syssetup/lang/bg-BG.rc | 7 +++
dll/win32/syssetup/lang/cs-CZ.rc | 7 +++
dll/win32/syssetup/lang/da-DK.rc | 7 +++
dll/win32/syssetup/lang/de-DE.rc | 7 +++
dll/win32/syssetup/lang/el-GR.rc | 7 +++
dll/win32/syssetup/lang/en-US.rc | 7 +++
dll/win32/syssetup/lang/es-ES.rc | 7 +++
dll/win32/syssetup/lang/et-EE.rc | 7 +++
dll/win32/syssetup/lang/fi-FI.rc | 7 +++
dll/win32/syssetup/lang/fr-FR.rc | 7 +++
dll/win32/syssetup/lang/he-IL.rc | 7 +++
dll/win32/syssetup/lang/hu-HU.rc | 7 +++
dll/win32/syssetup/lang/id-ID.rc | 7 +++
dll/win32/syssetup/lang/it-IT.rc | 7 +++
dll/win32/syssetup/lang/ja-JP.rc | 7 +++
dll/win32/syssetup/lang/lt-LT.rc | 7 +++
dll/win32/syssetup/lang/nl-NL.rc | 7 +++
dll/win32/syssetup/lang/no-NO.rc | 7 +++
dll/win32/syssetup/lang/pl-PL.rc | 7 +++
dll/win32/syssetup/lang/pt-BR.rc | 7 +++
dll/win32/syssetup/lang/ro-RO.rc | 7 +++
dll/win32/syssetup/lang/ru-RU.rc | 7 +++
dll/win32/syssetup/lang/sk-SK.rc | 7 +++
dll/win32/syssetup/lang/sq-AL.rc | 7 +++
dll/win32/syssetup/lang/sv-SE.rc | 7 +++
dll/win32/syssetup/lang/th-TH.rc | 7 +++
dll/win32/syssetup/lang/tr-TR.rc | 7 +++
dll/win32/syssetup/lang/uk-UA.rc | 7 +++
dll/win32/syssetup/lang/zh-CN.rc | 7 +++
dll/win32/syssetup/lang/zh-TW.rc | 7 +++
dll/win32/syssetup/proppage.c | 95 ++++++++++++++++++++++++++++++++++++++--
dll/win32/syssetup/resource.h | 4 ++
32 files changed, 305 insertions(+), 4 deletions(-)
diff --git a/dll/win32/syssetup/lang/bg-BG.rc b/dll/win32/syssetup/lang/bg-BG.rc
index 8182f53a85..247332e9a3 100644
--- a/dll/win32/syssetup/lang/bg-BG.rc
+++ b/dll/win32/syssetup/lang/bg-BG.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Общи файлове"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/cs-CZ.rc b/dll/win32/syssetup/lang/cs-CZ.rc
index 120defd98b..d5f230d3ae 100644
--- a/dll/win32/syssetup/lang/cs-CZ.rc
+++ b/dll/win32/syssetup/lang/cs-CZ.rc
@@ -216,3 +216,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/da-DK.rc b/dll/win32/syssetup/lang/da-DK.rc
index 949fbaf3b4..f6c10a6898 100644
--- a/dll/win32/syssetup/lang/da-DK.rc
+++ b/dll/win32/syssetup/lang/da-DK.rc
@@ -229,3 +229,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Programmer"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/de-DE.rc b/dll/win32/syssetup/lang/de-DE.rc
index 944517504c..b9c32deca3 100644
--- a/dll/win32/syssetup/lang/de-DE.rc
+++ b/dll/win32/syssetup/lang/de-DE.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Programme"
IDS_COMMONFILES "Gemeinsame Dateien"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Erkennung deaktiviert"
+ IDS_LOOKFORWHEEL "Rad suchen"
+ IDS_ASSUMEPRESENT "Annehmen, dass Rad vorhanden ist"
+END
diff --git a/dll/win32/syssetup/lang/el-GR.rc b/dll/win32/syssetup/lang/el-GR.rc
index 7b2eddaf1b..03f53ca214 100644
--- a/dll/win32/syssetup/lang/el-GR.rc
+++ b/dll/win32/syssetup/lang/el-GR.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/en-US.rc b/dll/win32/syssetup/lang/en-US.rc
index 8142e80013..f131e0a6a4 100644
--- a/dll/win32/syssetup/lang/en-US.rc
+++ b/dll/win32/syssetup/lang/en-US.rc
@@ -230,3 +230,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/es-ES.rc b/dll/win32/syssetup/lang/es-ES.rc
index 8112307dc1..25081b012c 100644
--- a/dll/win32/syssetup/lang/es-ES.rc
+++ b/dll/win32/syssetup/lang/es-ES.rc
@@ -211,3 +211,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Archivos de programa"
IDS_COMMONFILES "Archivos comunes"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/et-EE.rc b/dll/win32/syssetup/lang/et-EE.rc
index 91bb306305..5f1778f477 100644
--- a/dll/win32/syssetup/lang/et-EE.rc
+++ b/dll/win32/syssetup/lang/et-EE.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/fi-FI.rc b/dll/win32/syssetup/lang/fi-FI.rc
index f780fcd634..76ded8ab02 100644
--- a/dll/win32/syssetup/lang/fi-FI.rc
+++ b/dll/win32/syssetup/lang/fi-FI.rc
@@ -229,3 +229,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/fr-FR.rc b/dll/win32/syssetup/lang/fr-FR.rc
index 33160812ac..124a71fa5d 100644
--- a/dll/win32/syssetup/lang/fr-FR.rc
+++ b/dll/win32/syssetup/lang/fr-FR.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Fichiers communs"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/he-IL.rc b/dll/win32/syssetup/lang/he-IL.rc
index ac46750e95..015396d16c 100644
--- a/dll/win32/syssetup/lang/he-IL.rc
+++ b/dll/win32/syssetup/lang/he-IL.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/hu-HU.rc b/dll/win32/syssetup/lang/hu-HU.rc
index b2c67f53bf..6a22058823 100644
--- a/dll/win32/syssetup/lang/hu-HU.rc
+++ b/dll/win32/syssetup/lang/hu-HU.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/id-ID.rc b/dll/win32/syssetup/lang/id-ID.rc
index 41c7efebad..41c8732398 100644
--- a/dll/win32/syssetup/lang/id-ID.rc
+++ b/dll/win32/syssetup/lang/id-ID.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/it-IT.rc b/dll/win32/syssetup/lang/it-IT.rc
index d3a900e07c..e5d5a758ce 100644
--- a/dll/win32/syssetup/lang/it-IT.rc
+++ b/dll/win32/syssetup/lang/it-IT.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Programmi"
IDS_COMMONFILES "File comuni"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/ja-JP.rc b/dll/win32/syssetup/lang/ja-JP.rc
index a2b4dff673..e38b38f634 100644
--- a/dll/win32/syssetup/lang/ja-JP.rc
+++ b/dll/win32/syssetup/lang/ja-JP.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/lt-LT.rc b/dll/win32/syssetup/lang/lt-LT.rc
index 1132687ebb..458ce0e8eb 100644
--- a/dll/win32/syssetup/lang/lt-LT.rc
+++ b/dll/win32/syssetup/lang/lt-LT.rc
@@ -229,3 +229,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/nl-NL.rc b/dll/win32/syssetup/lang/nl-NL.rc
index c7e2529dce..5b50e730d0 100644
--- a/dll/win32/syssetup/lang/nl-NL.rc
+++ b/dll/win32/syssetup/lang/nl-NL.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/no-NO.rc b/dll/win32/syssetup/lang/no-NO.rc
index 9730718c30..3c08e54fe3 100644
--- a/dll/win32/syssetup/lang/no-NO.rc
+++ b/dll/win32/syssetup/lang/no-NO.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Programfiler"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/pl-PL.rc b/dll/win32/syssetup/lang/pl-PL.rc
index a28d1fa440..36ae269013 100644
--- a/dll/win32/syssetup/lang/pl-PL.rc
+++ b/dll/win32/syssetup/lang/pl-PL.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/pt-BR.rc b/dll/win32/syssetup/lang/pt-BR.rc
index 58b35ba463..00a295385b 100644
--- a/dll/win32/syssetup/lang/pt-BR.rc
+++ b/dll/win32/syssetup/lang/pt-BR.rc
@@ -210,3 +210,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Arquivos de programas"
IDS_COMMONFILES "Arquivos comuns"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/ro-RO.rc b/dll/win32/syssetup/lang/ro-RO.rc
index 7235f81c10..68ce3f96b1 100644
--- a/dll/win32/syssetup/lang/ro-RO.rc
+++ b/dll/win32/syssetup/lang/ro-RO.rc
@@ -219,3 +219,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Fișiere de program"
IDS_COMMONFILES "Fișiere comune"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/ru-RU.rc b/dll/win32/syssetup/lang/ru-RU.rc
index a57a28a188..e4a42080cc 100644
--- a/dll/win32/syssetup/lang/ru-RU.rc
+++ b/dll/win32/syssetup/lang/ru-RU.rc
@@ -212,3 +212,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/sk-SK.rc b/dll/win32/syssetup/lang/sk-SK.rc
index 152e1388be..3f550d3252 100644
--- a/dll/win32/syssetup/lang/sk-SK.rc
+++ b/dll/win32/syssetup/lang/sk-SK.rc
@@ -216,3 +216,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/sq-AL.rc b/dll/win32/syssetup/lang/sq-AL.rc
index 48b453a33d..37344c3d35 100644
--- a/dll/win32/syssetup/lang/sq-AL.rc
+++ b/dll/win32/syssetup/lang/sq-AL.rc
@@ -229,3 +229,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Dokumente Programi"
IDS_COMMONFILES "Dokumente Zakonshëm"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/sv-SE.rc b/dll/win32/syssetup/lang/sv-SE.rc
index 2d692e34e2..bece96b2cf 100644
--- a/dll/win32/syssetup/lang/sv-SE.rc
+++ b/dll/win32/syssetup/lang/sv-SE.rc
@@ -229,3 +229,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program"
IDS_COMMONFILES "Delade filer"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/th-TH.rc b/dll/win32/syssetup/lang/th-TH.rc
index 3fb5b3c4b9..de776455ed 100644
--- a/dll/win32/syssetup/lang/th-TH.rc
+++ b/dll/win32/syssetup/lang/th-TH.rc
@@ -229,3 +229,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\โปรแกรมไฟล์"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/tr-TR.rc b/dll/win32/syssetup/lang/tr-TR.rc
index 41c633c1a5..5f67923ef7 100644
--- a/dll/win32/syssetup/lang/tr-TR.rc
+++ b/dll/win32/syssetup/lang/tr-TR.rc
@@ -212,3 +212,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\İzlence Kütükleri"
IDS_COMMONFILES "Ortak Kütükler"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/uk-UA.rc b/dll/win32/syssetup/lang/uk-UA.rc
index f2c9f19941..06508a5bb9 100644
--- a/dll/win32/syssetup/lang/uk-UA.rc
+++ b/dll/win32/syssetup/lang/uk-UA.rc
@@ -218,3 +218,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/zh-CN.rc b/dll/win32/syssetup/lang/zh-CN.rc
index 3617aba326..15133dcd89 100644
--- a/dll/win32/syssetup/lang/zh-CN.rc
+++ b/dll/win32/syssetup/lang/zh-CN.rc
@@ -215,3 +215,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/lang/zh-TW.rc b/dll/win32/syssetup/lang/zh-TW.rc
index 9b9dbafceb..c4ca3f4d11 100644
--- a/dll/win32/syssetup/lang/zh-TW.rc
+++ b/dll/win32/syssetup/lang/zh-TW.rc
@@ -211,3 +211,10 @@ BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
IDS_COMMONFILES "Common Files"
END
+
+STRINGTABLE
+BEGIN
+ IDS_DETECTIONDISABLED "Detection disabled"
+ IDS_LOOKFORWHEEL "Look for wheel"
+ IDS_ASSUMEPRESENT "Assume wheel is present"
+END
diff --git a/dll/win32/syssetup/proppage.c b/dll/win32/syssetup/proppage.c
index fa2ee4a9b7..6cab3faab1 100644
--- a/dll/win32/syssetup/proppage.c
+++ b/dll/win32/syssetup/proppage.c
@@ -11,6 +11,8 @@
#define NDEBUG
#include <debug.h>
+DWORD MouseSampleRates[] = {20, 40, 60, 80, 100, 200};
+
/*
* @implemented
@@ -77,8 +79,65 @@ LegacyDriverPropPageProvider(
}
+static
+VOID
+MouseOnDialogInit(
+ HWND hwndDlg,
+ LPARAM lParam)
+{
+ WCHAR szBuffer[64];
+ UINT i;
+
+ /* Add the sample rates */
+ for (i = 0; i < ARRAYSIZE(MouseSampleRates); i++)
+ {
+ wsprintf(szBuffer, L"%lu", MouseSampleRates[i]);
+ SendDlgItemMessageW(hwndDlg,
+ IDC_PS2MOUSESAMPLERATE,
+ CB_ADDSTRING,
+ 0,
+ (LPARAM)szBuffer);
+ }
+
+ /* Add the detection options */
+ for (i = IDS_DETECTIONDISABLED; i <= IDS_ASSUMEPRESENT; i++)
+ {
+ LoadStringW(hDllInstance, i, szBuffer, ARRAYSIZE(szBuffer));
+ SendDlgItemMessageW(hwndDlg,
+ IDC_PS2MOUSEWHEEL,
+ CB_ADDSTRING,
+ 0,
+ (LPARAM)szBuffer);
+ }
+
+}
+
+
+static
+INT_PTR
+CALLBACK
+MouseDlgProc(
+ HWND hwndDlg,
+ UINT uMsg,
+ WPARAM wParam,
+ LPARAM lParam)
+{
+ DPRINT("MouseDlgProc\n");
+
+ switch (uMsg)
+ {
+ case WM_INITDIALOG:
+ MouseOnDialogInit(hwndDlg, lParam);
+ return TRUE;
+ }
+
+ return FALSE;
+}
+
+
+
/*
- * @unimplemented
+ * @implemented
*/
BOOL
WINAPI
@@ -87,10 +146,38 @@ PS2MousePropPageProvider(
_In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc,
_In_ LPARAM lParam)
{
- DPRINT1("PS2MousePropPageProvider(%p %p %lx)\n",
+ PROPSHEETPAGEW PropSheetPage;
+ HPROPSHEETPAGE hPropSheetPage;
+
+ DPRINT("PS2MousePropPageProvider(%p %p %lx)\n",
lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam);
- UNIMPLEMENTED;
- return FALSE;
+
+ if (lpPropSheetPageRequest->PageRequested != SPPSR_ENUM_ADV_DEVICE_PROPERTIES)
+ return FALSE;
+
+ PropSheetPage.dwSize = sizeof(PROPSHEETPAGEW);
+ PropSheetPage.dwFlags = 0;
+ PropSheetPage.hInstance = hDllInstance;
+ PropSheetPage.pszTemplate = MAKEINTRESOURCE(IDD_PS2MOUSEPROPERTIES);
+ PropSheetPage.pfnDlgProc = MouseDlgProc;
+ PropSheetPage.lParam = 0;
+ PropSheetPage.pfnCallback = NULL;
+
+ hPropSheetPage = CreatePropertySheetPageW(&PropSheetPage);
+ if (hPropSheetPage == NULL)
+ {
+ DPRINT1("CreatePropertySheetPageW() failed!\n");
+ return FALSE;
+ }
+
+ if (!(*lpfnAddPropSheetPageProc)(hPropSheetPage, lParam))
+ {
+ DPRINT1("lpfnAddPropSheetPageProc() failed!\n");
+ DestroyPropertySheetPage(hPropSheetPage);
+ return FALSE;
+ }
+
+ return TRUE;
}
diff --git a/dll/win32/syssetup/resource.h b/dll/win32/syssetup/resource.h
index 8776eea5e5..c9dcb3a0aa 100644
--- a/dll/win32/syssetup/resource.h
+++ b/dll/win32/syssetup/resource.h
@@ -136,4 +136,8 @@
#define IDS_PROGRAMFILES 3600
#define IDS_COMMONFILES 3601
+#define IDS_DETECTIONDISABLED 3700
+#define IDS_LOOKFORWHEEL 3701
+#define IDS_ASSUMEPRESENT 3702
+
#define IDR_GPL 4000