[MSIEXEC] Sync with Wine Staging 2.16. CORE-13762
[reactos.git] / base / system / winlogon / wlx.c
index 03f7326..ba24de1 100644 (file)
@@ -850,7 +850,7 @@ LoadGina(
     }
     else
     {
-        TRACE("About to negociate with Gina %S. Winlogon uses version %x\n",
+        TRACE("About to negotiate with Gina %S. Winlogon uses version %x\n",
             GinaDll, WLX_CURRENT_VERSION);
         if (!Functions->WlxNegotiate(WLX_CURRENT_VERSION, DllVersion))
             goto cleanup;
@@ -1235,7 +1235,7 @@ CreateWindowStationAndDesktops(
     Session->InteractiveWindowStation = CreateWindowStationW(
         Session->InteractiveWindowStationName,
         0,
-        GENERIC_ALL,
+        MAXIMUM_ALLOWED,
         &DefaultSecurity);
     if (!Session->InteractiveWindowStation)
     {
@@ -1256,7 +1256,7 @@ CreateWindowStationAndDesktops(
         NULL,
         NULL,
         0, /* FIXME: Add DF_ALLOWOTHERACCOUNTHOOK flag? */
-        GENERIC_ALL,
+        MAXIMUM_ALLOWED,
         &UserDesktopSecurity);
     if (!Session->ApplicationDesktop)
     {
@@ -1272,7 +1272,7 @@ CreateWindowStationAndDesktops(
         NULL,
         NULL,
         0,
-        GENERIC_ALL,
+        MAXIMUM_ALLOWED,
         &DefaultSecurity);
     if (!Session->WinlogonDesktop)
     {
@@ -1288,7 +1288,7 @@ CreateWindowStationAndDesktops(
         NULL,
         NULL,
         0,
-        GENERIC_ALL,
+        MAXIMUM_ALLOWED,
         &DefaultSecurity);
     if(!Session->ScreenSaverDesktop)
     {