Skip to content

Latest commit

 

History

History
88 lines (71 loc) · 4.01 KB

nf-dbgeng-idebugsystemobjects4-setimplicitthreaddataoffset.md

File metadata and controls

88 lines (71 loc) · 4.01 KB
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.IDebugSystemObjects4.SetImplicitThreadDataOffset
IDebugSystemObjects4::SetImplicitThreadDataOffset (dbgeng.h)
The SetImplicitThreadDataOffset method sets the implicit thread for the current process. This method belongs to the IDebugSystemObjects4 interface.
debugger\setimplicitthreaddataoffset.htm
debugger
05/03/2018
IDebugSystemObjects4::SetImplicitThreadDataOffset
IDebugSystemObjects2 interface [Windows Debugging],SetImplicitThreadDataOffset method, IDebugSystemObjects2::SetImplicitThreadDataOffset, IDebugSystemObjects3 interface [Windows Debugging],SetImplicitThreadDataOffset method, IDebugSystemObjects3::SetImplicitThreadDataOffset, IDebugSystemObjects4 interface [Windows Debugging],SetImplicitThreadDataOffset method, IDebugSystemObjects4.SetImplicitThreadDataOffset, 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
IDebugSystemObjects4::SetImplicitThreadDataOffset
dbgeng/IDebugSystemObjects4::SetImplicitThreadDataOffset
APIRef
kbSyntax
COM
dbgeng.h
IDebugSystemObjects4::SetImplicitThreadDataOffset

IDebugSystemObjects4::SetImplicitThreadDataOffset

-description

The SetImplicitThreadDataOffset method sets the implicit thread for the current process.

-parameters

-param Offset [in]

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.

-returns

This method may also return error values. See Return Values for more details.

Return code Description
S_OK
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.

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).
 
For more information about the current implicit thread, see Threads and Processes. For details on the KTHREAD structure and TEB, see Microsoft Windows Internals by David Solomon and Mark Russinovich.