// acxelements.h
typedef struct _ACX_VOLUME_CONFIG {
ULONG Size;
ULONG Id;
const GUID *Name;
ULONG Flags;
ULONG ChannelsCount;
LONG Maximum;
LONG Minimum;
ULONG SteppingDelta;
PACX_VOLUME_CALLBACKS Callbacks;
} ACX_VOLUME_CONFIG, *PACX_VOLUME_CONFIG;
View the official Windows Driver Kit DDI referenceNo description available.
The ACX_VOLUME_CONFIG structure is used to define the acx volume 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 volume configuration flags defined by the ACX_VOLUME_CONFIG_FLAGS enum.
No flag bits are currently defined. Set this member to zero - AcxVolumeConfigNoFlags
ChannelsCountThe number of channels. This is a one based count.
MaximumThe maximum boost level for the volume.
MinimumThe minimum boost level for the volume.
SteppingDeltaThe stepping delta for the volume.
CallbacksThe ACX_VOLUME_CALLBACKS structure that identifies the driver callbacks for ACX volume operations.
Example usage is shown below.
ACX_VOLUME_CALLBACKS volumeCallbacks;
ACX_VOLUME_CONFIG volumeCfg;
ACX_VOLUME_CALLBACKS_INIT(&volumeCallbacks);
volumeCallbacks.EvtAcxVolumeAssignLevel = CodecC_EvtVolumeAssignLevelCallback;
volumeCallbacks.EvtAcxVolumeRetrieveLevel = CodecC_EvtVolumeRetrieveLevelCallback;
ACX_VOLUME_CONFIG_INIT(&volumeCfg);
volumeCfg.ChannelsCount = MAX_CHANNELS;
volumeCfg.Minimum = VOLUME_LEVEL_MINIMUM;
volumeCfg.Maximum = VOLUME_LEVEL_MAXIMUM;
volumeCfg.SteppingDelta = VOLUME_STEPPING;
volumeCfg.Callbacks = &volumeCallbacks;
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.