IDebugSystemObjects4::GetThreadIdsByIndex method (dbgeng.h)
The GetThreadIdsByIndex method returns the engine and system thread IDs for the specified threads in the current process.
HRESULT GetThreadIdsByIndex( [in] ULONG Start, [in] ULONG Count, [out, optional] PULONG Ids, [out, optional] PULONG SysIds );
Specifies the index of the first thread whose IDs are requested.
Specifies the number of threads whose IDs are requested.
[out, optional] Ids
Receives the engine thread IDs. If Ids is NULL, this information is not returned; otherwise, Ids is treated as an array of Count ULONG valuess.
[out, optional] SysIds
Receives the system thread IDs. If SysIds is NULL, this information is not returned; otherwise, SysIds is treated as an array of Count ULONG values.
This method may also return error values. See Return Values for more details.
||The method was successful.|
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.
|Header||dbgeng.h (include Dbgeng.h)|
Submit and view feedback for