- Add RtlSetProcessCritical
- Some fixes.
Modified: trunk/reactos/include/ndk/ketypes.h
Modified: trunk/reactos/include/ndk/pstypes.h
Modified: trunk/reactos/include/ndk/rtlfuncs.h
Modified: trunk/reactos/include/ndk/rtltypes.h
Modified: trunk/reactos/include/ndk/umtypes.h

Modified: trunk/reactos/include/ndk/ketypes.h
--- trunk/reactos/include/ndk/ketypes.h	2005-10-02 08:08:04 UTC (rev 18200)
+++ trunk/reactos/include/ndk/ketypes.h	2005-10-02 08:22:49 UTC (rev 18201)
@@ -172,8 +172,6 @@
 
 /* TYPES *********************************************************************/
 
-typedef LONG KPRIORITY;
-
 #ifdef NTOS_MODE_USER
 typedef CCHAR KPROCESSOR_MODE;
 

Modified: trunk/reactos/include/ndk/pstypes.h
--- trunk/reactos/include/ndk/pstypes.h	2005-10-02 08:08:04 UTC (rev 18200)
+++ trunk/reactos/include/ndk/pstypes.h	2005-10-02 08:22:49 UTC (rev 18201)
@@ -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 @@
 
 /* TYPES *********************************************************************/
 
+struct _W32THREAD;
+struct _W32PROCESS;
+
+struct _ETHREAD;
+
 #ifdef NTOS_MODE_USER
 typedef struct _CLIENT_ID
 {
@@ -215,11 +220,6 @@
 } CLIENT_ID, *PCLIENT_ID;
 #endif
 
-struct _W32THREAD;
-struct _W32PROCESS;
-
-struct _ETHREAD;
-
 typedef struct _DESCRIPTOR_TABLE_ENTRY
 {
     ULONG Selector;

Modified: trunk/reactos/include/ndk/rtlfuncs.h
--- trunk/reactos/include/ndk/rtlfuncs.h	2005-10-02 08:08:04 UTC (rev 18200)
+++ trunk/reactos/include/ndk/rtlfuncs.h	2005-10-02 08:22:49 UTC (rev 18201)
@@ -1313,6 +1313,15 @@
 NTAPI
 RtlReleasePebLock(VOID);
 
+NTSYSAPI
+VOID
+NTAPI
+RtlSetProcessIsCritical(
+    IN BOOLEAN NewValue,
+    OUT PBOOLEAN OldValue OPTIONAL,
+    IN BOOLEAN IsWinlogon
+);
+
 /*
  * Environment/Path Functions
  */

Modified: trunk/reactos/include/ndk/rtltypes.h
--- trunk/reactos/include/ndk/rtltypes.h	2005-10-02 08:08:04 UTC (rev 18200)
+++ trunk/reactos/include/ndk/rtltypes.h	2005-10-02 08:22:49 UTC (rev 18201)
@@ -10,6 +10,7 @@
 #define _RTLTYPES_H
 
 /* DEPENDENCIES **************************************************************/
+#include "pstypes.h"
 
 /* CONSTANTS *****************************************************************/
 #define MAXIMUM_LEADBYTES 12

Modified: trunk/reactos/include/ndk/umtypes.h
--- trunk/reactos/include/ndk/umtypes.h	2005-10-02 08:08:04 UTC (rev 18200)
+++ trunk/reactos/include/ndk/umtypes.h	2005-10-02 08:22:49 UTC (rev 18201)
@@ -110,6 +110,7 @@
 typedef short CSHORT;
 typedef CSHORT *PCSHORT;
 typedef LARGE_INTEGER PHYSICAL_ADDRESS, *PPHYSICAL_ADDRESS;
+typedef LONG KPRIORITY;
 typedef LONG NTSTATUS, *PNTSTATUS;
 #define STATIC static