SoundInitMixerInfo

VOID
    SoundInitMixerInfo(
        IN OUT PMIXER_INFO
MixerInfo,
        PMIXER_DD_GET_SET_DATA
HwGetLineData,
        PMIXER_DD_GET_SET_DATA
HwGetControlData,
        PMIXER_DD_GET_SET_DATA
HwGetCombinedControlData,
        PMIXER_DD_GET_SET_DATA
HwGetSetControlData
        );

The SoundInitMixerInfo function initializes a MIXER_INFO structure.

Parameters
MixerInfo
Pointer to a MIXER_INFO structure.
HwGetLineData
Pointer to a function of type PMIXER_DD_GET_SET_DATA. The pointer is stored in the HwGetLineData member of MIXER_INFO.
HwGetControlData
Pointer to a function of type PMIXER_DD_GET_SET_DATA. The pointer is stored in the HwGetControlData member of MIXER_INFO.
HwGetCombinedControlData
Pointer to a function of type PMIXER_DD_GET_SET_DATA. The pointer is stored in the HwGetCombinedControlData member of MIXER_INFO.
HwGetSetControlData
Pointer to a function of type PMIXER_DD_GET_SET_DATA. The pointer is stored in the HwGetSetControlData member of MIXER_INFO.
Return Value

None.

Comments

The function zeros the structure before initializing it.

Drivers calling SoundInitMixerInfo must include mixer.h.