Updated IoIsSystemThread() prototype. captive-0_9_3 captive-0_9_4 captive-0_9_5 captive-0_9_6 captive-0_9_7 captive-1_0
authorshort <>
Sun, 5 Oct 2003 20:24:40 +0000 (20:24 +0000)
committershort <>
Sun, 5 Oct 2003 20:24:40 +0000 (20:24 +0000)
Moved 'PETHREAD' definition: <internal/ps.h> -> <ddk/iofuncs.h>

include/ddk/iofuncs.h
ntoskrnl/include/internal/ps.h

index ba40efc..b2cd827 100644 (file)
@@ -757,10 +757,11 @@ STDCALL
 IoIsOperationSynchronous (
        IN      PIRP    Irp
        );
+typedef struct _ETHREAD *PETHREAD;
 BOOLEAN
 STDCALL
 IoIsSystemThread (
-       PVOID   Unknown0
+       IN PETHREAD Thread
        );
 PIRP
 STDCALL
index bc1ba01..ff9363b 100644 (file)
@@ -230,7 +230,10 @@ typedef struct _ETHREAD
 
 #ifndef __USE_W32API
 
+#if 0  /* Currently defined by <ddk/iofuncs.h> */
 typedef struct _ETHREAD *PETHREAD;
+#endif
+#include <ddk/iofuncs.h>
 
 #endif /* __USE_W32API */