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 |
|
See also
Send comments about this topic to Microsoft
Build date: 12/8/2011
