EVT_ACX_AUDIOENGINE_ASSIGN_ENGINE_FORMAT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// acxelements.h

EVT_ACX_AUDIOENGINE_ASSIGN_ENGINE_FORMAT EvtAcxAudioengineAssignEngineFormat;

NTSTATUS EvtAcxAudioengineAssignEngineFormat(
  ACXAUDIOENGINE AudioEngine,
  ACXDATAFORMAT Format
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-acxelements-evt_acx_audioengine_assign_engine_format)

Description

The EVT_ACX_AUDIOENGINE_ASSIGN_ENGINE_FORMAT callback function is implemented by the driver and is called when the internal mix format is set for an audio engine node.

Parameters

AudioEngine

An ACXAUDIOENGINE object that is used in a render circuit to represent a DSP. For more information about ACX objects, see Summary of ACX Objects.

Format

An ACXDATAFORMAT object that describes the mix format for the specified audio engine.

Return value

Returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code. For more information, see Using NTSTATUS Values.

Remarks

Example

Example usage is shown below.

EVT_ACX_AUDIOENGINE_ASSIGN_ENGINE_FORMAT        DspR_EvtAcxAudioEngineAssignEngineDeviceFormat;

NTSTATUS
DspR_EvtAcxAudioEngineAssignEngineDeviceFormat(
    ACXAUDIOENGINE,
    ULONG
)
{
    PAGED_CODE();

    // Custom Code goes here

    return STATUS_SUCCESS;
}

ACX requirements

Minimum ACX version: 1.0

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

See also