PsIsSystemThread routine

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

Syntax


BOOLEAN PsIsSystemThread(
  _In_ PETHREAD Thread
);

Parameters

Thread [in]

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

Target platform

Universal

Version

Available in Windows XP and later versions of Windows.

Header

Ntifs.h (include Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

<=DISPATCH_LEVEL

See also

IoIsSystemThread
PsGetCurrentThread

 

 

Send comments about this topic to Microsoft

Show: