ACX_MUTE_CALLBACKS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-acxelements-acx_mute_callbacks)

Description

The ACX_MUTE_CALLBACKS structure identifies the driver callbacks for ACX mute operations.

Members

Size

The length, in bytes, of this structure.

EvtAcxMuteAssignState

The EVT_ACX_MUTE_ASSIGN_STATE callback.

EvtAcxMuteRetrieveState

The EVT_ACX_MUTE_RETRIEVE_STATE callback.

EvtAcxMuteProcessRequest

The EVT_ACX_OBJECT_PROCESS_REQUEST callback.

Remarks

Example

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;

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

See also