Debugging Tools for Windows

GetSystemIdsByIndex

The GetSystemIdsByIndex method returns the engine target IDs for the specified targets.

HRESULT
  IDebugSystemObjects3::GetSystemIdsByIndex(
    IN ULONG  Start,
    IN ULONG  Count,
    OUT PULONG  Ids
    );

Parameters

Start
Specifies the index of the first target whose target ID is requested.
Count
Specifies the number of processes whose IDs are requested.
Ids
Receives the engine target IDs. If Ids is NULL, this information is not returned; otherwise, Ids is treated as an array of Count ULONG values.

Return Value

S_OK
The method was successful.

This method may also return error values. See Return Values for more details.

Interface Version

GetSystemIdsByIndex is available in IDebugSystemObjects3 and later versions.

Comments

The index of the first target is zero. The index of the last target is the number of targets returned by GetNumberSystems minus one.

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

See Also

Debugging Session and Execution Model

Build machine: CAPEBUILD