{
DPRINT("Creating W32 process PID:%d at IRQ level: %lu\n", Process->UniqueProcessId, KeGetCurrentIrql());
- InitializeListHead(&Win32Process->ClassListHead);
+ InitializeListHead(&Win32Process->ClassList);
InitializeListHead(&Win32Process->MenuListHead);
IntCleanupCurIcons(Process, Win32Process);
IntEngCleanupDriverObjs(Process, Win32Process);
CleanupMonitorImpl();
-
+
+ /* no process windows should exist at this point, or the function will assert! */
+ DestroyProcessClasses(Win32Process);
GDI_CleanupForProcess(Process);
e = PopEntryList(&Win32Thread->ReferencesList);
}
+ PsSetThreadWin32Thread(Thread, NULL);
}
RETURN( STATUS_SUCCESS);
return STATUS_UNSUCCESSFUL;
}
+ Status = InitHotkeyImpl();
+ if (!NT_SUCCESS(Status))
+ {
+ DPRINT1("Failed to initialize hotkey implementation!\n");
+ return STATUS_UNSUCCESSFUL;
+ }
+
Status = InitWindowStationImpl();
if (!NT_SUCCESS(Status))
{