// acxelements.h
EVT_ACX_STREAMAUDIOENGINE_RETRIEVE_EFFECTS_STATE EvtAcxStreamaudioengineRetrieveEffectsState;
NTSTATUS EvtAcxStreamaudioengineRetrieveEffectsState(
ACXSTREAMAUDIOENGINE StreamAudioEngine,
PULONG State
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The EVT_ACX_STREAMAUDIOENGINE_RETRIEVE_EFFECTS_STATE callback function is implemented by the driver and is called when the local effects state is requested for the specified stream audio engine.
StreamAudioEngineAn existing, initialized, ACXSTREAMAUDIOENGINE object. For more information about ACX objects, see Summary of ACX Objects.
StateA ULONG value indicating whether local effect processing in the stream audio engine node is enabled. A nonzero value indicates that processing is enabled. A value of 0 indicates that it is disabled.
Returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code. For more information, see Using NTSTATUS Values.
Example usage is shown below.
EVT_ACX_STREAMAUDIOENGINE_RETRIEVE_EFFECTS_STATE DspR_EvtAcxStreamAudioEngineRetrieveEffectsState;
NTSTATUS
DspR_EvtAcxStreamAudioEngineRetrieveEffectsState(
ACXSTREAMAUDIOENGINE StreamAudioEngine,
PULONG State
)
{
PAGED_CODE();
PDSP_STREAMAUDIOENGINE_CONTEXT pStreamAudioEngineCtx;
pStreamAudioEngineCtx = GetDspStreamAudioEngineContext(StreamAudioEngine);
*State = pStreamAudioEngineCtx->LFxEnabled;
return STATUS_SUCCESS;
}
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.