PsIsSystemThread function

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

Syntax

BOOLEAN PsIsSystemThread(
  PETHREAD Thread
);

Parameters

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

   
Minimum supported client Available in Windows XP and later versions of Windows.
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL "<=DISPATCH_LEVEL"

See Also

IoIsSystemThread

PsGetCurrentThread