Author: dchapyshev
Date: Wed Jan 7 07:50:54 2009
New Revision: 38629
URL: http://svn.reactos.org/svn/reactos?rev=38629&view=rev
Log:
- Add more resources
- More dialogs implementation
Modified:
trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c
trunk/reactos/dll/cpl/hdwwiz/lang/bg-BG.rc
trunk/reactos/dll/cpl/hdwwiz/lang/cs-CZ.rc
trunk/reactos/dll/cpl/hdwwiz/lang/de-DE.rc
trunk/reactos/dll/cpl/hdwwiz/lang/el-GR.rc
trunk/reactos/dll/cpl/hdwwiz/lang/en-US.rc
trunk/reactos/dll/cpl/hdwwiz/lang/es-ES.rc
trunk/reactos/dll/cpl/hdwwiz/lang/fr-FR.rc
trunk/reactos/dll/cpl/hdwwiz/lang/hu-HU.rc
trunk/reactos/dll/cpl/hdwwiz/lang/id-ID.rc
trunk/reactos/dll/cpl/hdwwiz/lang/it-IT.rc
trunk/reactos/dll/cpl/hdwwiz/lang/ja-JP.rc
trunk/reactos/dll/cpl/hdwwiz/lang/nl-NL.rc
trunk/reactos/dll/cpl/hdwwiz/lang/no-NO.rc
trunk/reactos/dll/cpl/hdwwiz/lang/pl-PL.rc
trunk/reactos/dll/cpl/hdwwiz/lang/pt-BR.rc
trunk/reactos/dll/cpl/hdwwiz/lang/ru-RU.rc
trunk/reactos/dll/cpl/hdwwiz/lang/sk-SK.rc
trunk/reactos/dll/cpl/hdwwiz/lang/th-TH.rc
trunk/reactos/dll/cpl/hdwwiz/lang/uk-UA.rc
trunk/reactos/dll/cpl/hdwwiz/lang/zh-CN.rc
trunk/reactos/dll/cpl/hdwwiz/resource.h
Modified: trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -124,10 +124,27 @@
{
case PSN_SETACTIVE:
{
- /* Disable "Next" button */
- PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK);
+ if ((SendDlgItemMessage(hwndDlg, IDC_CONNECTED, BM_GETCHECK, 0, 0) == BST_CHECKED) ||
+ (SendDlgItemMessage(hwndDlg, IDC_NOTCONNECTED, BM_GETCHECK, 0, 0) == BST_CHECKED))
+ {
+ PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_NEXT | PSWIZB_BACK);
+ }
+ else
+ {
+ PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK);
+ }
}
break;
+
+ case PSN_WIZNEXT:
+ {
+ if (SendDlgItemMessage(hwndDlg, IDC_NOTCONNECTED, BM_GETCHECK, 0, 0) == BST_CHECKED)
+ SetWindowLong(hwndDlg, DWL_MSGRESULT, IDD_NOTCONNECTEDPAGE);
+ else
+ SetWindowLong(hwndDlg, DWL_MSGRESULT, IDD_PROBELISTPAGE);
+
+ return TRUE;
+ }
}
}
break;
@@ -168,10 +185,83 @@
return FALSE;
}
+static INT_PTR CALLBACK
+NotConnectedPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+{
+ switch (uMsg)
+ {
+ case WM_INITDIALOG:
+ {
+ /* Set title font */
+ SendDlgItemMessage(hwndDlg, IDC_FINISHTITLE, WM_SETFONT, (WPARAM)hTitleFont, (LPARAM)TRUE);
+ }
+ break;
+
+ case WM_NOTIFY:
+ {
+ LPNMHDR lpnm = (LPNMHDR)lParam;
+
+ switch (lpnm->code)
+ {
+ case PSN_SETACTIVE:
+ {
+ PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_FINISH | PSWIZB_BACK);
+ }
+ break;
+
+ case PSN_WIZBACK:
+ {
+ SetWindowLong(hwndDlg, DWL_MSGRESULT, IDD_ISCONNECTEDPAGE);
+ return TRUE;
+ }
+ }
+ }
+ break;
+ }
+
+ return FALSE;
+}
+
+static INT_PTR CALLBACK
+ProbeListPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+{
+ switch (uMsg)
+ {
+ case WM_COMMAND:
+ {
+
+ }
+ break;
+
+ case WM_NOTIFY:
+ {
+ LPNMHDR lpnm = (LPNMHDR)lParam;
+
+ switch (lpnm->code)
+ {
+ case PSN_SETACTIVE:
+ {
+ PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK);
+ }
+ break;
+
+ case PSN_WIZNEXT:
+ {
+ SetWindowLong(hwndDlg, DWL_MSGRESULT, IDD_FINISHPAGE);
+ return TRUE;
+ }
+ }
+ }
+ break;
+ }
+
+ return FALSE;
+}
+
static VOID
HardwareWizardInit(HWND hwnd)
{
- HPROPSHEETPAGE ahpsp[3];
+ HPROPSHEETPAGE ahpsp[5];
PROPSHEETPAGE psp = {0};
PROPSHEETHEADER psh;
UINT nPages = 0;
@@ -207,6 +297,17 @@
psp.pszTemplate = MAKEINTRESOURCE(IDD_ISCONNECTEDPAGE);
ahpsp[nPages++] = CreatePropertySheetPage(&psp);
+ /* Create probe list page */
+ psp.dwSize = sizeof(PROPSHEETPAGE);
+ psp.dwFlags = PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE;
+ psp.pszHeaderTitle = MAKEINTRESOURCE(IDS_PROBELISTTITLE);
+ psp.pszHeaderSubTitle = NULL;
+ psp.hInstance = hApplet;
+ psp.lParam = 0;
+ psp.pfnDlgProc = ProbeListPageDlgProc;
+ psp.pszTemplate = MAKEINTRESOURCE(IDD_PROBELISTPAGE);
+ ahpsp[nPages++] = CreatePropertySheetPage(&psp);
+
/* Create finish page */
psp.dwSize = sizeof(PROPSHEETPAGE);
psp.dwFlags = PSP_DEFAULT | PSP_HIDEHEADER;
@@ -214,6 +315,15 @@
psp.lParam = 0;
psp.pfnDlgProc = FinishPageDlgProc;
psp.pszTemplate = MAKEINTRESOURCE(IDD_FINISHPAGE);
+ ahpsp[nPages++] = CreatePropertySheetPage(&psp);
+
+ /* Create not connected page */
+ psp.dwSize = sizeof(PROPSHEETPAGE);
+ psp.dwFlags = PSP_DEFAULT | PSP_HIDEHEADER;
+ psp.hInstance = hApplet;
+ psp.lParam = 0;
+ psp.pfnDlgProc = NotConnectedPageDlgProc;
+ psp.pszTemplate = MAKEINTRESOURCE(IDD_NOTCONNECTEDPAGE);
ahpsp[nPages++] = CreatePropertySheetPage(&psp);
/* Create the property sheet */
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/bg-BG.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/bg-BG.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/bg-BG.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/bg-BG.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Äîáàâÿíå íà îáîðóäâàíå"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/cs-CZ.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/cs-CZ.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/cs-CZ.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/cs-CZ.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Pøidat hardware"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/de-DE.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/de-DE.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/de-DE.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Hardware"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/el-GR.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/el-GR.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/el-GR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/el-GR.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Ðñüóèåóç óõóêåõþí"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/en-US.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/en-US.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/en-US.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Add hardware"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/es-ES.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/es-ES.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/es-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/es-ES.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Añade Nuevo Hardware"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/fr-FR.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/fr-FR.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/fr-FR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/fr-FR.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Ajout de matériel"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/hu-HU.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/hu-HU.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/hu-HU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/hu-HU.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -122,6 +122,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Hardver hozzáadása"
@@ -129,4 +141,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/id-ID.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/id-ID.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/id-ID.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/id-ID.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Tambah hardware"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/it-IT.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/it-IT.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/it-IT.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/it-IT.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Aggiungi hardware"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/ja-JP.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/ja-JP.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/ja-JP.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/ja-JP.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "n[hEFAÌÇÁ"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/nl-NL.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/nl-NL.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/nl-NL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/nl-NL.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Hardware toevoegen"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/no-NO.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/no-NO.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/no-NO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/no-NO.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Legg til maskinvare"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/pl-PL.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/pl-PL.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/pl-PL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/pl-PL.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -126,6 +126,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Dodaj sprzêt"
@@ -133,4 +145,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/pt-BR.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/pt-BR.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/pt-BR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/pt-BR.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Adicionar hardware"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/ru-RU.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/ru-RU.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/ru-RU.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "Äëÿ ïðåêðàùåíèÿ ðàáîòû ìàñòåðà íàæìèòå êíîïêó ""Îòìåíà"".", IDC_STATUSTEXT, 114, 158, 192, 19
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Ìàñòåð óñòàíîâêè îáîðóäîâàíèÿ"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Ìàñòåð óñòàíîâêè îáîðóäîâàíèÿ", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "×òîáû ïðîäîëæèòü, ïîäêëþ÷èòå ýòî óñòðîéñòâî ê êîìïüþòåðó.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Îòêëþ÷èòü êîìïüþòåð ïîñëå íàæàòèÿ êíîïêè ""Ãîòîâî"", ÷òîáû ìîæíî áûëî îòêðûòü êîðïóñ è ïîäêëþ÷èòü óñòðîéñòâî.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 30, BS_TOP | BS_MULTILINE
+ LTEXT " áîëüøèíñòâå ñëó÷àåâ ReactOS àâòîìàòè÷åñêè óñòàíîâèò íîâîå îáîðóäîâàíèå ïîñëå åãî ïîäêëþ÷åíèÿ. Åñëè ReactOS íå îáíàðóæèò åãî, íàäî áóäåò âíîâü çàïóñòèòü ýòîò ìàñòåð äëÿ óñòàíîâêè ïðîãðàììíîé ïîääåðæêè.", -1, 114, 98, 193, 44
+ LTEXT "Äëÿ çàêðûòèÿ ìàñòåðà íàæìèòå êíîïêó ""Ãîòîâî"".", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Óñòàíîâêà îáîðóäîâàíèÿ"
@@ -128,6 +140,5 @@
IDS_SEARCHTITLE "Ïîäîæäèòå, âûïîëíÿåòñÿ ïîèñê..."
IDS_SEARCHTEXT "Ýòîò ìàñòåð âûïîëíÿåò ïîèñê îáîðóäîâàíèÿ, êîòîðîå íåäàâíî áûëî ïîäêëþ÷åíî ê êîìïüþòåðó, íî åùå íå áûëî óñòàíîâëåíî."
IDS_ISCONNECTED "Ïîäêëþ÷åíî ëè óñòðîéñòâî?"
+ IDS_PROBELISTTITLE "Íà ýòîì êîìïüþòåðå óæå óñòàíîâëåíî ñëåäóþùåå îáîðóäîâàíèå"
END
-
-
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/sk-SK.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/sk-SK.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/sk-SK.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/sk-SK.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -125,6 +125,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Prida hardvér"
@@ -132,4 +144,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/th-TH.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/th-TH.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/th-TH.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/th-TH.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -121,6 +121,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "à¾ÔèÁ¡ÒõԴµÑé§ÍØ»¡Ã³ì"
@@ -128,4 +140,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/uk-UA.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/uk-UA.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/uk-UA.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/uk-UA.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -129,6 +129,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Äîäàòè óñòàòêóâàííÿ"
@@ -136,4 +148,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/lang/zh-CN.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/lang/zh-CN.…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/lang/zh-CN.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/lang/zh-CN.rc [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -127,6 +127,18 @@
LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8
END
+IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Hardware Wizard"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28
+ LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16
+ AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE
+ LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32
+ LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME "Ìí¼ÓÓ²¼þ"
@@ -134,4 +146,5 @@
IDS_SEARCHTITLE "Please wait while the wizard searches..."
IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed."
IDS_ISCONNECTED "Is the hardware connected?"
+ IDS_PROBELISTTITLE "The following hardware is already installed on your computer"
END
Modified: trunk/reactos/dll/cpl/hdwwiz/resource.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/resource.h?…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/resource.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/hdwwiz/resource.h [iso-8859-1] Wed Jan 7 07:50:54 2009
@@ -13,6 +13,7 @@
/* Strings */
#define IDS_CPLNAME 1000
#define IDS_CPLDESCRIPTION 1001
+#define IDS_PROBELISTTITLE 1005
#define IDS_SEARCHTEXT 1020
#define IDS_SEARCHTITLE 1025
#define IDS_ISCONNECTED 1113
@@ -22,6 +23,7 @@
#define IDD_SEARCHPAGE 204
#define IDD_ISFOUNDPAGE 205
#define IDD_ISCONNECTEDPAGE 206
+#define IDD_NOTCONNECTEDPAGE 207
#define IDD_PROBELISTPAGE 208
#define IDD_HWSTATUSPAGE 209
#define IDD_SELECTWAYPAGE 210
@@ -50,6 +52,7 @@
#define IDC_WARNINGICON 502
#define IDC_CONNECTED 504
#define IDC_NOTCONNECTED 505
+#define IDC_TURNOFFCHECKBOX 506
#endif /* __CPL_RESOURCE_H */
Author: greatlrd
Date: Wed Jan 7 07:47:18 2009
New Revision: 38628
URL: http://svn.reactos.org/svn/reactos?rev=38628&view=rev
Log:
Implement DCIBeginAccess not tested in all case yet
Modified:
branches/reactx/reactos/dll/win32/dciman32/dciman32.def
branches/reactx/reactos/dll/win32/dciman32/dciman_main.c
Modified: branches/reactx/reactos/dll/win32/dciman32/dciman32.def
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/dll/win32/dciman…
==============================================================================
--- branches/reactx/reactos/dll/win32/dciman32/dciman32.def [iso-8859-1] (original)
+++ branches/reactx/reactos/dll/win32/dciman32/dciman32.def [iso-8859-1] Wed Jan 7 07:47:18 2009
@@ -1,6 +1,6 @@
EXPORTS
-; DCIBeginAccess
+ DCIBeginAccess@20
DCICloseProvider@4
DCICreateOffscreen@40
DCICreateOverlay@12
Modified: branches/reactx/reactos/dll/win32/dciman32/dciman_main.c
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/dll/win32/dciman…
==============================================================================
--- branches/reactx/reactos/dll/win32/dciman32/dciman_main.c [iso-8859-1] (original)
+++ branches/reactx/reactos/dll/win32/dciman32/dciman_main.c [iso-8859-1] Wed Jan 7 07:47:18 2009
@@ -9,8 +9,7 @@
#include <ddrawgdi.h>
#include <pseh/pseh.h>
-
-
+/* ToDO protect some function with pseh */
/* Winwatch internal struct */
typedef struct _WINWATCH_INT
@@ -612,6 +611,220 @@
+/* Note DCIBeginAccess never return DCI_OK MSDN say it does, but it dose not return it */
+
+int
+WINAPI
+DCIBeginAccess(LPDCISURFACEINFO pdci, int x, int y, int dx, int dy)
+{
+ int retValue = DCI_FAIL_GENERIC;
+ int myRetValue = 0;
+ DDHALINFO ddHalInfo;
+ BOOL bNewMode = FALSE;
+ DDHAL_LOCKDATA DdLockData;
+ DDSURFACEDESC DdSurfaceDesc;
+ LPDCISURFACE_INT pDciSurface_int;
+ LPDDRAWI_DDRAWSURFACE_LCL tmp_DdSurfLcl;
+ DDHAL_CREATESURFACEDATA DdCreateSurfaceData;
+ DDHAL_DESTROYSURFACEDATA DdDestorySurfaceData;
+
+
+
+ pDciSurface_int = (LPDCISURFACE_INT) (((DWORD) pdci) - sizeof(DCISURFACE_LCL)) ;
+
+ /* Check see if we have lost surface or not */
+ if ( pDciSurface_int->DciSurface_lcl.LostSurface != FALSE)
+ {
+ /* Surface was lost, so we set return error code and return */
+ retValue = DCI_FAIL_INVALIDSURFACE;
+ }
+ else
+ {
+ /* Surface was not lost */
+
+ /* Setup DdLock when we need get our surface pointer */
+ DdLockData.lpDD = &pDciSurface_int->DciSurface_lcl.DirectDrawGlobal;
+ DdLockData.lpDDSurface = &pDciSurface_int->DciSurface_lcl.SurfaceLocal;
+ DdLockData.bHasRect = 1;
+ DdLockData.dwFlags = 0;
+ DdLockData.rArea.top = y;
+ DdLockData.rArea.left = x;
+ DdLockData.rArea.right = dx + x;
+ DdLockData.rArea.bottom = y + dy;
+
+ /* if we lost the surface or if the display have been change we need restart from here */
+ ReStart:
+
+ DdLockData.ddRVal = DDERR_GENERIC;
+
+
+
+ EnterCriticalSection(&gcsWinWatchLock);
+
+ /* Try lock our surface here
+ *
+ * Note MS DCIMAN32.DLL does not check see if the driver support Lock or not or if it NULL or the flag
+ * it will not crash it will return a error code instead, for SEH will capture it.
+ */
+
+ pDciSurface_int->DciSurface_lcl.DDSurfaceCallbacks.Lock( &DdLockData );
+
+
+ /* We need wait until DdLock is ready and finish to draw */
+ while ( DdLockData.ddRVal == DDERR_WASSTILLDRAWING )
+ {
+ pDciSurface_int->DciSurface_lcl.DDSurfaceCallbacks.Lock( &DdLockData );
+ }
+
+ /* DdLock is now ready to continue */
+
+ LeaveCriticalSection(&gcsWinWatchLock);
+
+ /* Check DdLock return value */
+ if ( DdLockData.ddRVal == DD_OK)
+ {
+ /* Check DdLock sussess so we fill in few members into the struct pdci */
+
+ pdci->dwOffSurface = (ULONG_PTR) ( ( ((DWORD)DdLockData.lpSurfData) - ( ( pdci->dwBitCount / 8 ) * x ) ) - ( pdci->lStride * y ) );
+
+ retValue = DCI_STATUS_POINTERCHANGED;
+ }
+ else if ( DdLockData.ddRVal == DDERR_SURFACELOST)
+ {
+ /* Check DdLock did not sussess so we need recreate it, maybe becose the display have been change ? */
+
+ /* Restart the DirectX hardware acclartions */
+ if ( DdReenableDirectDrawObject( &pDciSurface_int->DciSurface_lcl.DirectDrawGlobal, &bNewMode ) == 0)
+ {
+ /* We fail restart it, so we return error code */
+ retValue = DCI_ERR_SURFACEISOBSCURED;
+ }
+ else
+ {
+ /* Get HalInfo from DirectX hardware accalation */
+ myRetValue = DdQueryDirectDrawObject ( &pDciSurface_int->DciSurface_lcl.DirectDrawGlobal,
+ &ddHalInfo,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+
+ if ( myRetValue == FALSE )
+ {
+ if ( ( pDciSurface_int->DciSurfaceInfo.dwWidth != ddHalInfo.vmiData.dwDisplayWidth) ||
+ ( pDciSurface_int->DciSurfaceInfo.dwHeight != ddHalInfo.vmiData.dwDisplayHeight ) ||
+ ( pDciSurface_int->DciSurfaceInfo.lStride != ddHalInfo.vmiData.lDisplayPitch ) ||
+ ( pDciSurface_int->DciSurfaceInfo.dwBitCount != ddHalInfo.vmiData.ddpfDisplay.dwRGBBitCount ) )
+ {
+
+ /* Here we try recreate the lost surface in follow step
+ * 1. Destory the old surface
+ * 2. Create the new surface
+ * 3. ResetVisrgn
+ */
+
+ /*
+ * Setup Destorysurface the lost surface so we do not lost any
+ * hDC or hDD handles and memory leaks and destory it
+ */
+
+ DdDestorySurfaceData.lpDD = &pDciSurface_int->DciSurface_lcl.DirectDrawGlobal;
+ DdDestorySurfaceData.lpDDSurface = &pDciSurface_int->DciSurface_lcl.SurfaceLocal;
+ DdDestorySurfaceData.ddRVal = DDERR_GENERIC;
+ DdDestorySurfaceData.DestroySurface = pDciSurface_int->DciSurface_lcl.DDSurfaceCallbacks.DestroySurface;
+
+ if ( (pDciSurface_int->DciSurface_lcl.DDSurfaceCallbacks.dwFlags & DDHAL_SURFCB32_DESTROYSURFACE) != DDHAL_SURFCB32_DESTROYSURFACE )
+ {
+ if ( pDciSurface_int->DciSurface_lcl.DDSurfaceCallbacks.DestroySurface != 0 )
+ {
+ pDciSurface_int->DciSurface_lcl.DDSurfaceCallbacks.DestroySurface( &DdDestorySurfaceData ) ;
+ }
+ }
+
+ /*
+ * Setup our new surface to create it
+ */
+
+ tmp_DdSurfLcl = &pDciSurface_int->DciSurface_lcl.SurfaceLocal;
+
+ memset(&DdSurfaceDesc,0, sizeof(DDSURFACEDESC));
+ DdSurfaceDesc.dwSize = sizeof(DDSURFACEDESC);
+ DdSurfaceDesc.dwFlags = DDSD_CAPS;
+ DdSurfaceDesc.ddsCaps.dwCaps = DDSCAPS_PRIMARYSURFACE | DDSCAPS_VISIBLE;
+
+ DdCreateSurfaceData.lpDD = &pDciSurface_int->DciSurface_lcl.DirectDrawGlobal;
+ DdCreateSurfaceData.lpDDSurfaceDesc = &DdSurfaceDesc;
+ DdCreateSurfaceData.lplpSList = &tmp_DdSurfLcl;
+ DdCreateSurfaceData.dwSCnt = 1;
+ DdCreateSurfaceData.ddRVal = DDERR_GENERIC;
+ DdCreateSurfaceData.CreateSurface = pDciSurface_int->DciSurface_lcl.DDCallbacks.CreateSurface;
+
+ if ( ( pDciSurface_int->DciSurface_lcl.DDCallbacks.CreateSurface != NULL) &&
+ ((pDciSurface_int->DciSurface_lcl.DDCallbacks.dwFlags & DDHAL_CB32_CREATESURFACE) == DDHAL_CB32_CREATESURFACE))
+ {
+ if ( ( pDciSurface_int->DciSurface_lcl.DDCallbacks.CreateSurface( &DdCreateSurfaceData ) == 1 ) &&
+ ( DdCreateSurfaceData.ddRVal == DD_OK ) )
+ {
+ /*
+ * RestVisrgn
+ */
+ if ( DdResetVisrgn( &pDciSurface_int->DciSurface_lcl.SurfaceLocal, (HWND)-1 ) != 0)
+ {
+ /* The surface was lost, so we need restart DCIBeginAccess,
+ * we can retstart it in two ways
+ * 1. call on DCIBeginAccess each time
+ * 2. use a goto.
+ *
+ * Why I decide not to call it again,
+ * is it will use more stack space and we do not known
+ * how many times it will restart it self, and
+ * it will cost cpu time and stack memory.
+ *
+ * The goto did seam best slovtions to this issue, and
+ * it will not cost us extra stack space or cpu time,
+ * and we do not need setup DdLockData again, and do other
+ * check as well.
+ */
+ goto ReStart;
+ }
+ }
+ }
+ }
+ }
+ /* Get HalInfo from DirectX hardware accalation fail or something else so we lost the surface */
+ pDciSurface_int->DciSurface_lcl.LostSurface = TRUE;
+
+ retValue = DCI_FAIL_INVALIDSURFACE;
+
+ /*
+ * Setup Destorysurface the lost surface so we do not lost any hDC or hDD handles and memory leaks
+ * and destory it and free all DirectX rescures
+ */
+ DdDestorySurfaceData.lpDD = &pDciSurface_int->DciSurface_lcl.DirectDrawGlobal;
+ DdDestorySurfaceData.lpDDSurface = &pDciSurface_int->DciSurface_lcl.SurfaceLocal;
+ DdDestorySurfaceData.ddRVal = DDERR_GENERIC;
+ DdDestorySurfaceData.DestroySurface = pDciSurface_int->DciSurface_lcl.DDSurfaceCallbacks.DestroySurface;
+
+ if ( (pDciSurface_int->DciSurface_lcl.DDSurfaceCallbacks.dwFlags & DDHAL_SURFCB32_DESTROYSURFACE) != DDHAL_SURFCB32_DESTROYSURFACE )
+ {
+ if ( pDciSurface_int->DciSurface_lcl.DDSurfaceCallbacks.DestroySurface != 0 )
+ {
+ if ( pDciSurface_int->DciSurface_lcl.DDSurfaceCallbacks.DestroySurface( &DdDestorySurfaceData ) == DDHAL_DRIVER_HANDLED )
+ {
+ if ( DdDestorySurfaceData.ddRVal == DD_OK )
+ {
+ DdDeleteDirectDrawObject(&pDciSurface_int->DciSurface_lcl.DirectDrawGlobal);
+ }
+ }
+ }
+ }
+
+ }
+
+ }
+ }
+
+ return retValue;
+}
+
+
/***********************************************************************************************************/
/***********************************************************************************************************/
/***********************************************************************************************************/