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.IDebugSystemObjects.GetCurrentThreadHandle |
IDebugSystemObjects::GetCurrentThreadHandle (dbgeng.h) |
The GetCurrentThreadHandle method returns the system handle for the current thread. This method belongs to the IDebugSystemObjects interface. |
debugger\getcurrentthreadhandle.htm |
debugger |
05/03/2018 |
|
GetCurrentThreadHandle, GetCurrentThreadHandle method [Windows Debugging], GetCurrentThreadHandle method [Windows Debugging],IDebugSystemObjects interface, GetCurrentThreadHandle method [Windows Debugging],IDebugSystemObjects2 interface, GetCurrentThreadHandle method [Windows Debugging],IDebugSystemObjects3 interface, GetCurrentThreadHandle method [Windows Debugging],IDebugSystemObjects4 interface, IDebugSystemObjects interface [Windows Debugging],GetCurrentThreadHandle method, IDebugSystemObjects.GetCurrentThreadHandle, IDebugSystemObjects2 interface [Windows Debugging],GetCurrentThreadHandle method, IDebugSystemObjects2::GetCurrentThreadHandle, IDebugSystemObjects3 interface [Windows Debugging],GetCurrentThreadHandle method, IDebugSystemObjects3::GetCurrentThreadHandle, IDebugSystemObjects4 interface [Windows Debugging],GetCurrentThreadHandle method, IDebugSystemObjects4::GetCurrentThreadHandle, IDebugSystemObjects::GetCurrentThreadHandle, IDebugSystemObjects_6c615962-bf20-4cdb-8bab-8afc142e8c65.xml, dbgeng/IDebugSystemObjects2::GetCurrentThreadHandle, dbgeng/IDebugSystemObjects3::GetCurrentThreadHandle, dbgeng/IDebugSystemObjects4::GetCurrentThreadHandle, dbgeng/IDebugSystemObjects::GetCurrentThreadHandle, debugger.getcurrentthreadhandle |
dbgeng.h |
Dbgeng.h |
Desktop |
Windows |
|
|
|
|
|
The GetCurrentThreadHandle method returns the system handle for the current thread.
Receives the current thread's system handle.
This method may also return other error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
In kernel-mode debugging, an artificial handle is created because the threads are virtual threads.
For more information about threads, see Threads and Processes. For details on system handles, see Handles.