// acxelements.h
typedef struct _ACX_ELEMENT_CONFIG {
ULONG Size;
ULONG Id;
const GUID *Type;
const GUID *Name;
ULONG Flags;
ULONG PropertiesCount;
ULONG MethodsCount;
PACX_PROPERTY_ITEM Properties;
PACX_METHOD_ITEM Methods;
} ACX_ELEMENT_CONFIG, *PACX_ELEMENT_CONFIG;
View the official Windows Driver Kit DDI referenceNo description available.
The ACX_ELEMENT_CONFIG structure is used to define the acx element configuration.
SizeThe length, in bytes, of this structure.
IdA number that represents the element ID.
TypeThe KSNODETYPE, for example KSNODETYPE_AUDIO_ENGINE or KSNODETYPE_AUDIO_KEYWORDDETECTOR. For more information, see Audio Topology Nodes.
NameA pointer to a GUID that represents the name of the element. Can be used for debugging and will default to GUID_NULL if not provided.
FlagsAcx element configuration flags defined by the ACX_ELEMENT_CONFIG_FLAGS enum.
No flag bits are currently defined. Set this member to zero - AcxAudioElementConfigNoFlags
PropertiesCountThe number of properties. This is a one based count.
MethodsCountThe number of methods. This is a one based count.
PropertiesAn ACX_PROPERTY_ITEM structure that defines the properties for this acx element configuration.
MethodsAn ACX_METHOD_ITEM structure that defines the methods for this acx element configuration.
Example usage is shown below.
WDF_OBJECT_ATTRIBUTES attributes;
ACX_ELEMENT_CONFIG elementCfg;
CODEC_ELEMENT_CONTEXT * elementCtx;
ACX_ELEMENT_CONFIG_INIT(&elementCfg);
WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE(&attributes, CODEC_ELEMENT_CONTEXT);
attributes.ParentObject = Circuit;
status = AcxElementCreate(Circuit, &attributes, &elementCfg, Element);
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.