// acxcircuit.h
ACXELEMENT AcxCircuitGetElementById(
ACXCIRCUIT Circuit,
ULONG ElementId
);
View the official Windows Driver Kit DDI referenceNo description available.
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.
CircuitAn existing ACXCIRCUIT object.
ElementIdA valid Element ID number.
The requested ACXELEMENT object associated with the provided element ID number.
Example usage is shown below.
ACXELEMENT element = nullptr;
ULONGLONG index = GetMessageContext(Event); // Context is an index.
element = AcxCircuitGetElementById(Circuit, (ULONG)index);
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.