#include <include/class.h>
#include <include/window.h>
-//#define NDEBUG
+#define NDEBUG
#include <win32k/debug1.h>
extern SSDT Win32kSSDT[];
return(Status);
}
+ Status = InitTimerImpl();
+ if (!NT_SUCCESS(Status))
+ {
+ DbgPrint("Failed to initialize timer implementation.\n");
+ return(Status);
+ }
+
return STATUS_SUCCESS;
}
+PEPROCESS W32kDeviceProcess;
BOOLEAN
STDCALL
W32kInitialize (VOID)
{
DPRINT("in W32kInitialize\n");
+
+ W32kDeviceProcess = PsGetCurrentProcess();
+
InitGdiObjectHandleTable ();
// Create surface used to draw the internal font onto
+#ifdef TODO
CreateCellCharSurface();
-
- // Create stock objects, ie. precreated objects commonly used by win32 applications
- CreateStockObjects();
+#endif
// Initialize FreeType library
if(!InitFontSupport()) return FALSE;
+ // Create stock objects, ie. precreated objects commonly used by win32 applications
+ CreateStockObjects();
+
return TRUE;
}