diff --git a/reactos/include/ndk/ketypes.h b/reactos/include/ndk/ketypes.h index d3ac69ba0c4..342a6440500 100644 --- a/reactos/include/ndk/ketypes.h +++ b/reactos/include/ndk/ketypes.h @@ -172,8 +172,6 @@ typedef VOID /* TYPES *********************************************************************/ -typedef LONG KPRIORITY; - #ifdef NTOS_MODE_USER typedef CCHAR KPROCESSOR_MODE; diff --git a/reactos/include/ndk/pstypes.h b/reactos/include/ndk/pstypes.h index 9c170f60ecd..d5cb50351de 100644 --- a/reactos/include/ndk/pstypes.h +++ b/reactos/include/ndk/pstypes.h @@ -13,7 +13,7 @@ #include "ldrtypes.h" #include "mmtypes.h" #include "obtypes.h" -#include "extypes.h" +//#include "extypes.h" #ifndef NTOS_MODE_USER #include "setypes.h" #endif @@ -207,6 +207,11 @@ typedef NTSTATUS /* TYPES *********************************************************************/ +struct _W32THREAD; +struct _W32PROCESS; + +struct _ETHREAD; + #ifdef NTOS_MODE_USER typedef struct _CLIENT_ID { @@ -215,11 +220,6 @@ typedef struct _CLIENT_ID } CLIENT_ID, *PCLIENT_ID; #endif -struct _W32THREAD; -struct _W32PROCESS; - -struct _ETHREAD; - typedef struct _DESCRIPTOR_TABLE_ENTRY { ULONG Selector; diff --git a/reactos/include/ndk/rtlfuncs.h b/reactos/include/ndk/rtlfuncs.h index 991c395ae85..ae7065f4dcf 100644 --- a/reactos/include/ndk/rtlfuncs.h +++ b/reactos/include/ndk/rtlfuncs.h @@ -1313,6 +1313,15 @@ VOID NTAPI RtlReleasePebLock(VOID); +NTSYSAPI +VOID +NTAPI +RtlSetProcessIsCritical( + IN BOOLEAN NewValue, + OUT PBOOLEAN OldValue OPTIONAL, + IN BOOLEAN IsWinlogon +); + /* * Environment/Path Functions */ diff --git a/reactos/include/ndk/rtltypes.h b/reactos/include/ndk/rtltypes.h index f48581f1e84..3abcd3b66e0 100644 --- a/reactos/include/ndk/rtltypes.h +++ b/reactos/include/ndk/rtltypes.h @@ -10,6 +10,7 @@ #define _RTLTYPES_H /* DEPENDENCIES **************************************************************/ +#include "pstypes.h" /* CONSTANTS *****************************************************************/ #define MAXIMUM_LEADBYTES 12 diff --git a/reactos/include/ndk/umtypes.h b/reactos/include/ndk/umtypes.h index 6c082740a99..e05386ed137 100644 --- a/reactos/include/ndk/umtypes.h +++ b/reactos/include/ndk/umtypes.h @@ -110,6 +110,7 @@ typedef ULONG CLONG; typedef short CSHORT; typedef CSHORT *PCSHORT; typedef LARGE_INTEGER PHYSICAL_ADDRESS, *PPHYSICAL_ADDRESS; +typedef LONG KPRIORITY; typedef LONG NTSTATUS, *PNTSTATUS; #define STATIC static