PsIsSystemThread function (ntifs.h)

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

Syntax

BOOLEAN PsIsSystemThread(
  [in] PETHREAD Thread
);

Parameters

[in] Thread

Pointer to the thread to be checked.

Return value

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

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
Minimum supported client Windows XP
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <=DISPATCH_LEVEL

See also

IoIsSystemThread

PsGetCurrentThread