// acxstreams.h
ACXELEMENT AcxStreamGetElementById(
ACXSTREAM Stream,
ULONG ElementId
);
View the official Windows Driver Kit DDI referenceNo description available.
The AcxStreamGetElementById function returns the ACXELEMENT Object handle for the requested element ID. For more information about ACX Objects, see ACX - Summary of ACX Objects.
StreamAn existing ACXSTREAM Object. An ACXSTREAM object represents an audio stream created by a circuit.
ElementIdThe Id of the requested element.
The ACXELEMENT Object handle of the requested element, or NULL if the ACXSTREAM doesn't have an ACXELEMENT with the given Id.
Example usage is shown below.
ULONGLONG index = GetMessageContext(Event); // Context is an index.
ACXELEMENT element = nullptr;
//
// Get the ACX element.
//
element = AcxStreamGetElementById(Stream, (ULONG)index);
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.