#include "reactos/ddk/iofuncs.h" /* self */
#include <glib/gmessages.h>
+#include "reactos/ddk/psfuncs.h" /* for PsGetCurrentThread() */
/**
*LowLimit =(ULONG) 0x10000; /* 64KB */
*HighLimit=(ULONG)-0x10000; /* 64KB */
}
+
+
+/**
+ * IoIsSystemThread:
+ * @Thread: #PETHREAD of the thread to query.
+ * libcaptive allows only PsGetCurrentThread() value.
+ *
+ * Detect if the given @Thread is a kernel system thread.
+ * FIXME: Not much specific...
+ *
+ * Returns: %TRUE if the given @Thread is a kernel system thread.
+ * libcaptive always returns %TRUE.
+ */
+BOOLEAN IoIsSystemThread(IN PETHREAD Thread)
+{
+ g_return_val_if_fail(Thread==PsGetCurrentThread(),FALSE);
+
+ return TRUE;
+}