update for HEAD-2003091401
[reactos.git] / ntoskrnl / ex / win32k.c
index d8461e7..0bfbbb9 100644 (file)
@@ -97,6 +97,8 @@ ExpWinStaObjectCreate(PVOID ObjectBody,
     return Status;
   }
 
+  WinSta->SystemMenuTemplate = (HANDLE)0;
+
   DPRINT("Window station successfully created. Name (%wZ)\n", &WinSta->Name);
 
   return STATUS_SUCCESS;
@@ -263,7 +265,7 @@ ExpWin32kInit(VOID)
   if (ExWindowStationObjectType == NULL)
   {
     CPRINT("Could not create window station object type\n");
-    KeBugCheck(0);
+    KEBUGCHECK(0);
   }
 
   ExWindowStationObjectType->Tag = TAG('W', 'I', 'N', 'S');
@@ -291,7 +293,7 @@ ExpWin32kInit(VOID)
   if (ExDesktopObjectType == NULL)
   {
     CPRINT("Could not create desktop object type\n");
-    KeBugCheck(0);
+    KEBUGCHECK(0);
   }
 
   ExDesktopObjectType->Tag = TAG('D', 'E', 'S', 'K');