Debugging Tools for Windows |
The GetThreadIdsByIndex method returns the engine and system thread IDs for the specified threads in the current process.
HRESULT
IDebugSystemObjects::GetThreadIdsByIndex(
IN ULONG Start,
IN ULONG Count,
OUT OPTIONAL PULONG Ids,
OUT OPTIONAL PULONG SysIds
);
This method may also return error values. See Return Values for more details.
GetThreadIdsByIndex is available in all versions of IDebugSystemObjects.
The index of the first thread is zero. The index of the last thread is the number of threads returned by GetNumberThreads minus one.
For more information about threads, see Threads and Processes.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.