Debugging Tools for Windows |
The GetCurrentThreadSystemId method returns the system thread ID of the current thread.
HRESULT
IDebugSystemObjects::GetCurrentThreadSystemId(
OUT PULONG SysId
);
This method may also return other error values. See Return Values for more details.
GetCurrentThreadSystemId is available in all versions of IDebugSystemObjects.
This method is only available in user-mode debugging.
For more information about threads, see Threads and Processes.
Versions:
Headers: Defined in Dbgeng.h. Include Dbgeng.h.