IoIsSystemThread function (ntifs.h)

The IoIsSystemThread routine checks whether a given thread is a system thread.

Syntax

BOOLEAN IoIsSystemThread(
  [in] PETHREAD Thread
);

Parameters

[in] Thread

Pointer to the thread to be checked.

Return value

IoIsSystemThread returns TRUE if the specified thread is a system thread, otherwise FALSE.

Remarks

For more information about using system threads and managing synchronization within a nonarbitrary thread context, see Driver Threads, Dispatcher Objects, and Resources.

Requirements

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= DISPATCH_LEVEL

See also

PsGetCurrentThread

PsIsSystemThread