https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c3505bb4f69424bcae908323f84700da34373030

commit c3505bb4f69424bcae908323f84700da34373030
Author:     Eric Kohl <eric.k...@reactos.org>
AuthorDate: Sun Mar 2 13:01:58 2025 +0100
Commit:     Eric Kohl <eric.k...@reactos.org>
CommitDate: Sun Mar 2 13:01:58 2025 +0100

    [NETSHELL] Reverted the removal of the unattended setup support for the 
network settings page.
    
    I removed the unattended setup support by accident.
    This should fix our automatic tests.
---
 dll/shellext/netshell/setup.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dll/shellext/netshell/setup.cpp b/dll/shellext/netshell/setup.cpp
index 722e8be1d76..eb469c82b3a 100644
--- a/dll/shellext/netshell/setup.cpp
+++ b/dll/shellext/netshell/setup.cpp
@@ -316,6 +316,11 @@ NetworkSettingsPageDlgProc(
                 case PSN_SETACTIVE:
                     /* Enable the Next button only */
                     PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_NEXT);
+                    if (pSetupData->UnattendSetup)
+                    {
+                        SetWindowLongPtr(hwndDlg, DWLP_MSGRESULT, 
IDD_NETWORKCOMPONENTPAGE);
+                        return TRUE;
+                    }
                     break;
 
                 case PSN_WIZNEXT:

Reply via email to