IDebugSystemObjects3::GetCurrentThreadSystemId method (dbgeng.h)
The GetCurrentThreadSystemId method returns the system thread ID of the current thread.
Syntax
HRESULT GetCurrentThreadSystemId(
[out] PULONG SysId
);
Parameters
[out] SysId
Receives the system thread ID.
Return value
This method may also return other error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
|
The target is a kernel-mode target. |
Remarks
This method is only available in user-mode debugging.
For more information about threads, see Threads and Processes.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |