Debugging Tools for Windows |
The GetImplicitThreadDataOffset method returns the implicit thread for the current process.
HRESULT
IDebugSystemObjects2::GetImplicitThreadDataOffset(
OUT PULONG64 Offset
);
This method may also return error values. See Return Values for more details.
GetImplicitThreadDataOffset is available in IDebugSystemObjects2 and later versions.
In kernel-mode debugging, the data structure is the KTHREAD structure for the process.
In user-mode debugging, the data structure is the thread environment block (TEB) for the process.
For more information about the implicit thread, see Threads and Processes. For details on the KTHREAD structure and TEB, see Microsoft Windows Internals by David Solomon and Mark Russinovich.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.