mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:13:23 +00:00

add stubs to user32 and add partial non-working implementation of Message Pump Hooks svn path=/trunk/; revision=6711
31 lines
737 B
C
31 lines
737 B
C
#ifndef __INCLUDE_NAPI_WIN32_H
|
|
#define __INCLUDE_NAPI_WIN32_H
|
|
|
|
typedef struct _W32THREAD
|
|
{
|
|
PVOID MessageQueue;
|
|
FAST_MUTEX WindowListLock;
|
|
LIST_ENTRY WindowListHead;
|
|
struct _KBDTABLES* KeyboardLayout;
|
|
struct _DESKTOP_OBJECT* Desktop;
|
|
DWORD MessagePumpHookValue;
|
|
} __attribute__((packed)) W32THREAD, *PW32THREAD;
|
|
|
|
typedef struct _W32PROCESS
|
|
{
|
|
FAST_MUTEX ClassListLock;
|
|
LIST_ENTRY ClassListHead;
|
|
FAST_MUTEX MenuListLock;
|
|
LIST_ENTRY MenuListHead;
|
|
struct _KBDTABLES* KeyboardLayout;
|
|
struct _WINSTATION_OBJECT* WindowStation;
|
|
WORD GDIObjects;
|
|
WORD UserObjects;
|
|
} W32PROCESS, *PW32PROCESS;
|
|
|
|
PW32THREAD STDCALL
|
|
PsGetWin32Thread(VOID);
|
|
PW32PROCESS STDCALL
|
|
PsGetWin32Process(VOID);
|
|
|
|
#endif /* __INCLUDE_NAPI_WIN32_H */
|