// acxelements.h
typedef struct _ACX_MUTE_CONFIG {
ULONG Size;
ULONG Id;
const GUID *Name;
ULONG Flags;
ULONG ChannelsCount;
PACX_MUTE_CALLBACKS Callbacks;
} ACX_MUTE_CONFIG, *PACX_MUTE_CONFIG;
View the official Windows Driver Kit DDI referenceNo description available.
The ACX_MUTE_CONFIG structure is used to define the acx mute configuration.
SizeThe length, in bytes, of this structure.
IdA number that represents the element ID.
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 mute configuration flags defined by the ACX_MUTE_CONFIG_FLAGS enum.
No flag bits are currently defined. Set this member to zero - AcxMuteConfigNoFlags.
ChannelsCountThe number of channels. This is a one based count.
CallbacksThe ACX_MUTE_CALLBACKS structure that identifies the driver callbacks for ACX mute operations.
Example usage is shown below.
ACX_MUTE_CALLBACKS muteCallbacks;
ACX_MUTE_CONFIG muteCfg;
ACXMUTE muteElement;
//
// Create three elements to handle mute for the audioengine element
//
ACX_MUTE_CALLBACKS_INIT(&muteCallbacks);
muteCallbacks.EvtAcxMuteAssignState = CodecR_EvtMuteAssignState;
muteCallbacks.EvtAcxMuteRetrieveState = CodecR_EvtMuteRetrieveState;
ACX_MUTE_CONFIG_INIT(&muteCfg);
muteCfg.ChannelsCount = MAX_CHANNELS;
muteCfg.Name = &KSAUDFNAME_WAVE_MUTE;
muteCfg.Callbacks = &muteCallbacks;
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.