Add message box to tell the user to reboot after the installation of a network card
authorHervé Poussineau <hpoussin@reactos.org>
Thu, 15 Dec 2005 18:20:21 +0000 (18:20 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Thu, 15 Dec 2005 18:20:21 +0000 (18:20 +0000)
svn path=/trunk/; revision=20192

reactos/lib/netcfgx/netcfgx.c

index 821a8f9..22cb4e0 100644 (file)
@@ -346,6 +346,11 @@ NetClassInstaller(
                goto cleanup;
        }
 
+       /* HACK: hpoussin, Dec 2005. TCP/IP driver is not able to manage devices
+        * which are installed after its startup. So, we have to reboot to take
+        * this new netcard into account.
+        */
+       MessageBox(NULL, TEXT("You need to reboot to finish the installation of your network card."), TEXT("Reboot required"), MB_OK | MB_ICONWARNING);
        rc = ERROR_SUCCESS;
 
 cleanup: