Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
IRP
MDL
Expand Minimize

ETHREAD

The ETHREAD structure is an opaque structure that serves as the thread object for a thread.

Some routines, such as PsIsSystemThread, use ETHREAD to identify the thread to operate on. Drivers can use the PsGetCurrentThread routine to obtain a pointer to the thread object for the current thread and can use the ObReferenceObjectByHandle routine to obtain a pointer to the thread object that is associated with the specified handle.

Note that a thread object is an Object Manager object. Drivers should use Object Manager routines such as ObReferenceObject and ObDereferenceObject to maintain the object's reference count.

Requirements

Version

All supported operating systems.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

See also

ObReferenceObjectByHandle
PsGetCurrentThread
PsIsSystemThread

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft