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