--- trunk/reactos/subsys/win32k/ntuser/desktop.c 2005-08-08 15:01:03 UTC (rev 17203)
+++ trunk/reactos/subsys/win32k/ntuser/desktop.c 2005-08-08 15:33:04 UTC (rev 17204)
@@ -248,7 +248,7 @@
Status = ObOpenObjectByName(&ObjectAttributes,
ExWindowStationObjectType,
NULL,
- UserMode,
+ KernelMode,
0,
NULL,
(HANDLE*)hWinSta);
@@ -282,7 +282,7 @@
Status = ObOpenObjectByName(&ObjectAttributes,
ExDesktopObjectType,
NULL,
- UserMode,
+ KernelMode,
0,
NULL,
(HANDLE*)hDesktop);
@@ -766,7 +766,7 @@
* Try to open already existing desktop
*/
- DPRINT("Trying to open desktop (%wZ)\n", &DesktopName);
+ DPRINT1("Trying to open desktop (%wZ)\n", &DesktopName);
/* Initialize ObjectAttributes for the desktop object */
InitializeObjectAttributes(
@@ -780,7 +780,7 @@
&ObjectAttributes,
ExDesktopObjectType,
NULL,
- UserMode,
+ KernelMode,
dwDesiredAccess,
NULL,
(HANDLE*)&Desktop);
--- trunk/reactos/subsys/win32k/ntuser/winsta.c 2005-08-08 15:01:03 UTC (rev 17203)
+++ trunk/reactos/subsys/win32k/ntuser/winsta.c 2005-08-08 15:33:04 UTC (rev 17204)
@@ -466,7 +466,7 @@
&ObjectAttributes,
ExWindowStationObjectType,
NULL,
- UserMode,
+ KernelMode,
dwDesiredAccess,
NULL,
(PVOID*)&WindowStation);