fixed GetThreadDesktop() (not fully working yet because it requires a ObFindHandleForObject() implementation in case the requested thread doesn't belong to the calling process)

svn path=/trunk/; revision=9315
This commit is contained in:
Thomas Bluemel
2004-05-05 22:47:06 +00:00
parent 879f672ffe
commit bcde8100ea
5 changed files with 121 additions and 32 deletions
+2
View File
@@ -10,6 +10,7 @@ typedef struct _W32THREAD
LIST_ENTRY WindowListHead;
struct _KBDTABLES* KeyboardLayout;
struct _DESKTOP_OBJECT* Desktop;
HANDLE hDesktop;
DWORD MessagePumpHookValue;
BOOLEAN IsExiting;
} W32THREAD, *PW32THREAD;
@@ -29,6 +30,7 @@ typedef struct _W32PROCESS
LIST_ENTRY CursorIconListHead;
struct _KBDTABLES* KeyboardLayout;
struct _WINSTATION_OBJECT* WindowStation;
HANDLE hWindowStation;
WORD GDIObjects;
WORD UserObjects;
BOOLEAN CreatedWindowOrDC;