Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetCurrentThreadHandle method returns the system handle for the current thread.
HRESULT GetCurrentThreadHandle(
[out] PULONG64 Handle
);
[out] Handle
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.
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |