IDebugSystemObjects3::GetSystemIdsByIndex method (dbgeng.h)

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

Syntax

HRESULT GetSystemIdsByIndex(
  [in]  ULONG  Start,
  [in]  ULONG  Count,
  [out] PULONG Ids
);

Parameters

[in] Start

Specifies the index of the first target whose target ID is requested.

[in] Count

Specifies the number of processes whose IDs are requested.

[out] 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

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

Return code Description
S_OK
The method was successful.

Remarks

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

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

Debugging Session and Execution Model

IDebugSystemObjects3

IDebugSystemObjects4