// acxelements.h
typedef struct _ACX_MUTE_CALLBACKS {
ULONG Size;
PFN_ACX_MUTE_ASSIGN_STATE EvtAcxMuteAssignState;
PFN_ACX_MUTE_RETRIEVE_STATE EvtAcxMuteRetrieveState;
PFN_ACX_OBJECT_PROCESS_REQUEST EvtAcxMuteProcessRequest;
} ACX_MUTE_CALLBACKS, *PACX_MUTE_CALLBACKS;
View the official Windows Driver Kit DDI referenceNo description available.
The ACX_MUTE_CALLBACKS structure identifies the driver callbacks for ACX mute operations.
SizeThe length, in bytes, of this structure.
EvtAcxMuteAssignStateThe EVT_ACX_MUTE_ASSIGN_STATE callback.
EvtAcxMuteRetrieveStateThe EVT_ACX_MUTE_RETRIEVE_STATE callback.
EvtAcxMuteProcessRequestThe EVT_ACX_OBJECT_PROCESS_REQUEST callback.
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.