Author: jimtabor
Date: Tue Jun 17 00:33:46 2008
New Revision: 33999
URL:
http://svn.reactos.org/svn/reactos?rev=33999&view=rev
Log:
Fix build
Modified:
trunk/reactos/subsystems/win32/win32k/main/dllmain.c
Modified: trunk/reactos/subsystems/win32/win32k/main/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ma…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/main/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/main/dllmain.c [iso-8859-1] Tue Jun 17 00:33:46
2008
@@ -39,6 +39,8 @@
PSECTION_OBJECT GlobalUserHeapSection = NULL;
PSERVERINFO gpsi = NULL; // Global User Server Information.
+
+HSEMAPHORE hsemDriverMgmt = NULL;
extern ULONG_PTR Win32kSSDT[];
extern UCHAR Win32kSSPT[];
@@ -410,6 +412,8 @@
/* Initialize a list of loaded drivers in Win32 subsystem */
InitializeListHead(&GlobalDriverListHead);
+ if(!hsemDriverMgmt) hsemDriverMgmt = EngCreateSemaphore();
+
Status = InitUserImpl();
if (!NT_SUCCESS(Status))
{