4#define W32PF_CONSOLEAPPLICATION 0x00000001
5#define W32PF_FORCEOFFFEEDBACK 0x00000002
6#define W32PF_STARTGLASS 0x00000004
7#define W32PF_WOW 0x00000008
8#define W32PF_READSCREENACCESSGRANTED 0x00000010
9#define W32PF_INITIALIZED 0x00000020
10#define W32PF_APPSTARTING 0x00000040
11#define W32PF_WOW64 0x00000080
12#define W32PF_ALLOWFOREGROUNDACTIVATE 0x00000100
13#define W32PF_OWNDCCLEANUP 0x00000200
14#define W32PF_SHOWSTARTGLASSCALLED 0x00000400
15#define W32PF_FORCEBACKGROUNDPRIORITY 0x00000800
16#define W32PF_TERMINATED 0x00001000
17#define W32PF_CLASSESREGISTERED 0x00002000
18#define W32PF_THREADCONNECTED 0x00004000
19#define W32PF_PROCESSCONNECTED 0x00008000
20#define W32PF_SETFOREGROUNDALLOWED 0x00008000
21#define W32PF_WAKEWOWEXEC 0x00010000
22#define W32PF_WAITFORINPUTIDLE 0x00020000
23#define W32PF_IOWINSTA 0x00040000
24#define W32PF_CONSOLEFOREGROUND 0x00080000
25#define W32PF_OLELOADED 0x00100000
26#define W32PF_SCREENSAVER 0x00200000
27#define W32PF_IDLESCREENSAVER 0x00400000
28#define W32PF_DISABLEIME 0x00800000
29#define W32PF_ICONTITLEREGISTERED 0x10000000
30#define W32PF_DPIAWARE 0x20000000
32#define W32PF_NOWINDOWGHOSTING (0x01000000)
33#define W32PF_MANUALGUICHECK (0x02000000)
34#define W32PF_CREATEDWINORDC (0x04000000)
35#define W32PF_APIHOOKLOADED (0x08000000)
166#define IntReferenceThreadInfo(pti) \
167 InterlockedIncrement(&(pti)->RefCount)
171#define IntDereferenceThreadInfo(pti) \
173 if (InterlockedDecrement(&(pti)->RefCount) == 0) \
175 ASSERT(((pti)->TIF_flags & (TIF_INCLEANUP|TIF_DONTATTACHQUEUE)) == (TIF_INCLEANUP|TIF_DONTATTACHQUEUE)); \
176 UserDeleteW32Thread(pti); \
181#define IntReferenceProcessInfo(ppi) \
182 InterlockedIncrement((volatile LONG*)(&(ppi)->RefCount))
186#define IntDereferenceProcessInfo(ppi) \
188 if (InterlockedDecrement((volatile LONG*)(&(ppi)->RefCount)) == 0) \
190 ASSERT(((ppi)->W32PF_flags & W32PF_TERMINATED) != 0); \
191 UserDeleteW32Process(ppi); \
296 BYTE DbgChannelLevel[DbgChCount];
320#define strlenW lstrlenW
#define __drv_freesMem(kind)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
LIST_ENTRY PrivateMemFontListHead
W32HEAP_USER_MAPPING HeapMappings
DWORD dwhmodLibLoadedMask
DWORD dwRegisteredClasses
FAST_MUTEX PrivateFontListLock
struct _CLS * pclsPrivateList
struct _GDI_POOL * pPoolRgnAttr
struct _CURICON_OBJECT * pCursorCache
struct _GDI_POOL * pPoolBrushAttr
LIST_ENTRY DriverObjListHead
struct _CLS * pclsPublicList
struct _DESKTOP * rpdeskStartup
FAST_MUTEX DriverObjListLock
UINT PrivateMemFontHandleCount
LIST_ENTRY PrivateFontListHead
struct _GDI_POOL * pPoolDcAttr
PTHREADINFO ptiMainThread
struct _WINSTATION_OBJECT * prpwinsta
struct _USER_MESSAGE_QUEUE * pqAttach
struct _USER_SENT_MESSAGE * pusmCurrent
struct _DESKTOPINFO * pDeskInfo
struct tagMENUSTATE * pMenuState
struct tagHOOK * sphkCurrent
LIST_ENTRY PostedMessagesListHead
DWORD nCntsQBits[QSIDCOUNTS]
struct _USER_SENT_MESSAGE * pusmSent
struct _CLIENTINFO * pClientInfo
PKEVENT pEventQueueServer
LIST_ENTRY W32CallbackListHead
struct tagIMC * spDefaultImc
struct tagKL * KeyboardLayout
LIST_ENTRY aphkStart[NB_HOOKS]
FIXME!
struct _CLIENTTHREADINFO * pcti
PUNICODE_STRING pstrAppName
SINGLE_LIST_ENTRY ReferencesList
LIST_ENTRY SentMessagesListHead
struct tagSBTRACK * pSBTrack
struct _WND * spwndDefaultIme
LIST_ENTRY WindowListHead
struct _USER_MESSAGE_QUEUE * MessageQueue
struct _W32HEAP_USER_MAPPING * Next
struct _W32PROCESS * NextStart
LIST_ENTRY GDIDcAttrFreeList
RTL_AVL_TABLE GDIEngUserMemAllocTable
LIST_ENTRY GDIBrushAttrFreeList
DWORD StartCursorHideTime
PEX_PUSH_LOCK GDIPushLock
VOID UserDeleteW32Thread(PTHREADINFO)
struct _W32THREAD W32THREAD
BOOL RegisteredSysClasses
struct _W32HEAP_USER_MAPPING * PW32HEAP_USER_MAPPING
VOID UserDeleteW32Process(_Pre_notnull_ __drv_freesMem(Mem) PPROCESSINFO)
struct tagUSERSTARTUPINFO * PUSERSTARTUPINFO
struct _CLS * SystemClassList
struct _W32PROCESS * PW32PROCESS
struct tagUSERSTARTUPINFO USERSTARTUPINFO
enum _QS_ROS_TYPES * PQS_ROS_TYPES
struct _THREADINFO THREADINFO
enum _QS_ROS_TYPES QS_ROS_TYPES
struct _W32HEAP_USER_MAPPING W32HEAP_USER_MAPPING
struct _PROCESSINFO PROCESSINFO
struct _W32PROCESS W32PROCESS
struct _W32THREAD * PW32THREAD
void NTAPI UserDbgPreServiceHook(ULONG ulSyscallId, PULONG_PTR pulArguments)
ULONG_PTR NTAPI UserDbgPostServiceHook(ULONG ulSyscallId, ULONG_PTR ulResult)
#define FAST_FAIL_RANGE_CHECK_FAILURE