UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:dbgeng.IDebugSystemObjects2.SetImplicitThreadDataOffset |
IDebugSystemObjects2::SetImplicitThreadDataOffset (dbgeng.h) |
The SetImplicitThreadDataOffset method sets the implicit thread for the current process. This method belongs to the IDebugSystemObjects2 interface. |
debugger\setimplicitthreaddataoffset.htm |
debugger |
05/03/2018 |
|
IDebugSystemObjects2 interface [Windows Debugging],SetImplicitThreadDataOffset method, IDebugSystemObjects2.SetImplicitThreadDataOffset, IDebugSystemObjects2::SetImplicitThreadDataOffset, IDebugSystemObjects3 interface [Windows Debugging],SetImplicitThreadDataOffset method, IDebugSystemObjects3::SetImplicitThreadDataOffset, IDebugSystemObjects4 interface [Windows Debugging],SetImplicitThreadDataOffset method, IDebugSystemObjects4::SetImplicitThreadDataOffset, IDebugSystemObjects_d78e5ee9-b18c-47a0-9987-41923aaa1aaf.xml, SetImplicitThreadDataOffset, SetImplicitThreadDataOffset method [Windows Debugging], SetImplicitThreadDataOffset method [Windows Debugging],IDebugSystemObjects2 interface, SetImplicitThreadDataOffset method [Windows Debugging],IDebugSystemObjects3 interface, SetImplicitThreadDataOffset method [Windows Debugging],IDebugSystemObjects4 interface, dbgeng/IDebugSystemObjects2::SetImplicitThreadDataOffset, dbgeng/IDebugSystemObjects3::SetImplicitThreadDataOffset, dbgeng/IDebugSystemObjects4::SetImplicitThreadDataOffset, debugger.setimplicitthreaddataoffset |
dbgeng.h |
Dbgeng.h |
Desktop |
Windows |
|
|
|
|
|
The SetImplicitThreadDataOffset method sets the implicit thread for the current process.
Specifies the location in the target's memory address space of the data structure of the system thread that is to become the implicit thread for the current process. If this is zero, the implicit thread for the current process is set to the default implicit thread.
This method may also return error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
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.
Warning Because it is possible to use SetImplicitProcessDataOffset to set the implicit process independently of the implicit thread, the implicit thread might not belong to the implicit process. This can cause errors if you attempt to access any of the user state for the implicit thread, because it will be incompatible with the virtual address space (specified by the implicit process).