Author: fireball
Date: Sat Jul 18 14:44:11 2009
New Revision: 42044
URL:
http://svn.reactos.org/svn/reactos?rev=42044&view=rev
Log:
- Use custom PROCESSINFO and THREADINFO structures for keeping Win32 specific
information.
Modified:
branches/arwinss/reactos/subsystems/win32/win32k/include/win32.h
Modified: branches/arwinss/reactos/subsystems/win32/win32k/include/win32.h
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/include/win32.h [iso-8859-1]
(original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/include/win32.h [iso-8859-1] Sat Jul
18 14:44:11 2009
@@ -2,20 +2,6 @@
#define __INCLUDE_NAPI_WIN32_H
typedef struct _WIN32HEAP WIN32HEAP, *PWIN32HEAP;
-
-#include <pshpack1.h>
-typedef struct _W32THREAD
-{
- PETHREAD pEThread;
-} W32THREAD, *PW32THREAD;
-
-typedef struct _THREADINFO
-{
- W32THREAD W32Thread;
- PVOID ppi; // FIXME: use PPROCESSINFO
-} THREADINFO, *PTHREADINFO;
-
-#include <poppack.h>
typedef struct _W32HEAP_USER_MAPPING
{
@@ -31,6 +17,24 @@
PEPROCESS peProcess;
W32HEAP_USER_MAPPING HeapMappings;
LIST_ENTRY Classes; /* window classes owned by the process */
-} PROCESSINFO, *PPROCESSINFO;
+ struct handle_table *handles; /* handle entries */
+ struct event *idle_event; /* event for input idle */
+ struct msg_queue *queue; /* main message queue */
+ obj_handle_t winstation; /* main handle to process window station */
+ obj_handle_t desktop; /* handle to desktop to use for new threads */
+} PROCESSINFO;
+
+#include <pshpack1.h>
+
+typedef struct _THREADINFO
+{
+ PETHREAD peThread;
+ PPROCESSINFO process;
+ struct msg_queue *queue; /* message queue */
+ obj_handle_t desktop; /* desktop handle */
+ int desktop_users; /* number of objects using the thread desktop */
+} THREADINFO, *PTHREADINFO;
+
+#include <poppack.h>
#endif /* __INCLUDE_NAPI_WIN32_H */