Debugging Tools for Windows |
The GetThreadIdByProcessor method returns the engine thread ID for the kernel-mode virtual thread corresponding to the specified processor.
HRESULT
IDebugSystemObjects::GetThreadIdByProcessor(
IN ULONG Processor,
OUT PULONG Id
);
This method may also return error values. See Return Values for more details.
GetThreadIdByProcessor is available in all versions of IDebugSystemObjects.
This method is only available in kernel-mode debugging.
For more information about threads, see Threads and Processes.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.