IDebugSystemObjects2::SetImplicitThreadDataOffset method (dbgeng.h)
The SetImplicitThreadDataOffset method sets the implicit thread for the current process.
Syntax
HRESULT SetImplicitThreadDataOffset(
[in] ULONG64 Offset
);
Parameters
[in] Offset
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.
Return value
This method may also return error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
Remarks
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |