diff --git a/reactos/include/ndk/psfuncs.h b/reactos/include/ndk/psfuncs.h index fa65d2a54fb..ea05e892be5 100644 --- a/reactos/include/ndk/psfuncs.h +++ b/reactos/include/ndk/psfuncs.h @@ -74,6 +74,13 @@ PsEstablishWin32Callouts( PW32_CALLOUT_DATA CalloutData ); +VOID +NTAPI +PsReturnProcessNonPagedPoolQuota( + IN PEPROCESS Process, + IN ULONG_PTR Amount +); + // // Process Impersonation Functions // diff --git a/reactos/include/ndk/pstypes.h b/reactos/include/ndk/pstypes.h index 55df3f8b772..4efd74dc61f 100644 --- a/reactos/include/ndk/pstypes.h +++ b/reactos/include/ndk/pstypes.h @@ -588,11 +588,11 @@ typedef struct _TERMINATION_PORT #include typedef struct _ETHREAD { - KTHREAD Tcb; /* 1C0 */ - LARGE_INTEGER CreateTime; /* 1C0 */ - LARGE_INTEGER ExitTime; /* 1C0 */ + KTHREAD Tcb; /* 1B8 */ + LARGE_INTEGER CreateTime; /* 1B8 */ union { + LARGE_INTEGER ExitTime; /* 1C0 */ LIST_ENTRY LpcReplyChain; /* 1C0 */ LIST_ENTRY KeyedWaitChain; /* 1C0 */ }; @@ -609,12 +609,12 @@ typedef struct _ETHREAD PVOID KeyedWaitValue; /* 1D4 */ }; KSPIN_LOCK ActiveTimerListLock; /* 1D8 */ - LIST_ENTRY ActiveTimerListHead; /* 1D8 */ - CLIENT_ID Cid; /* 1E0 */ + LIST_ENTRY ActiveTimerListHead; /* 1DC */ + CLIENT_ID Cid; /* 1E4 */ union { - KSEMAPHORE LpcReplySemaphore; /* 1E4 */ - KSEMAPHORE KeyedReplySemaphore; /* 1E4 */ + KSEMAPHORE LpcReplySemaphore; /* 1EC */ + KSEMAPHORE KeyedReplySemaphore; /* 1EC */ }; union { @@ -747,7 +747,7 @@ typedef struct _EPROCESS LIST_ENTRY ThreadListHead; /* 184 */ PVOID SecurityPort; /* 188 */ PVOID PaeTop; /* 18C */ - ULONG ActiveThreds; /* 190 */ + ULONG ActiveThreads; /* 190 */ ACCESS_MASK GrantedAccess; /* 194 */ ULONG DefaultHardErrorProcessing; /* 198 */ NTSTATUS LastThreadExitStatus; /* 19C */