AcxCircuitGetElementById - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// acxcircuit.h

ACXELEMENT AcxCircuitGetElementById(
  ACXCIRCUIT Circuit,
  ULONG      ElementId
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-acxcircuit-acxcircuitgetelementbyid)

Description

When provided a valid ElementID number, the AcxCircuitGetElementById function returns the corresponding ACXELEMENT object. For more information about ACX objects, see Summary of ACX Objects.

Parameters

Circuit

An existing ACXCIRCUIT object.

ElementId

A valid Element ID number.

Return value

The requested ACXELEMENT object associated with the provided element ID number.

Remarks

Example

Example usage is shown below.

    ACXELEMENT              element     = nullptr;
    ULONGLONG               index       = GetMessageContext(Event); // Context is an index.

    element = AcxCircuitGetElementById(Circuit, (ULONG)index);

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

See also