From f1e1d59a422715001db701302f1f0441936c3598 Mon Sep 17 00:00:00 2001 From: short <> Date: Sun, 5 Oct 2003 20:24:40 +0000 Subject: [PATCH] Updated IoIsSystemThread() prototype. Moved 'PETHREAD' definition: -> --- include/ddk/iofuncs.h | 3 ++- ntoskrnl/include/internal/ps.h | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/ddk/iofuncs.h b/include/ddk/iofuncs.h index ba40efc..b2cd827 100644 --- a/include/ddk/iofuncs.h +++ b/include/ddk/iofuncs.h @@ -757,10 +757,11 @@ STDCALL IoIsOperationSynchronous ( IN PIRP Irp ); +typedef struct _ETHREAD *PETHREAD; BOOLEAN STDCALL IoIsSystemThread ( - PVOID Unknown0 + IN PETHREAD Thread ); PIRP STDCALL diff --git a/ntoskrnl/include/internal/ps.h b/ntoskrnl/include/internal/ps.h index bc1ba01..ff9363b 100644 --- a/ntoskrnl/include/internal/ps.h +++ b/ntoskrnl/include/internal/ps.h @@ -230,7 +230,10 @@ typedef struct _ETHREAD #ifndef __USE_W32API +#if 0 /* Currently defined by */ typedef struct _ETHREAD *PETHREAD; +#endif +#include #endif /* __USE_W32API */ -- 1.8.3.1