IoIsSystemThread function

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

Syntax

NTKERNELAPI BOOLEAN IoIsSystemThread(
  PETHREAD Thread
);

Parameters

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

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

See Also

PsGetCurrentThread

PsIsSystemThread