Add message box to tell the user to reboot after the installation of a network card
[reactos.git] / 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: