ACX_PEAKMETER_CALLBACKS-Struktur (acxelements.h)
Die ACX_PEAKMETER_CALLBACKS-Struktur identifiziert die Treiberrückrufe für ACX-Peakmetervorgänge.
Syntax
typedef struct _ACX_PEAKMETER_CALLBACKS {
ULONG Size;
PFN_ACX_PEAKMETER_RETRIEVE_LEVEL EvtAcxPeakMeterRetrieveLevel;
PFN_ACX_OBJECT_PROCESS_REQUEST EvtAcxPeakMeterProcessRequest;
} ACX_PEAKMETER_CALLBACKS, *PACX_PEAKMETER_CALLBACKS;
Member
Size
Die Länge dieser Struktur in Bytes.
EvtAcxPeakMeterRetrieveLevel
Der ACX_PEAKMETER_RETRIEVE_LEVEL Rückruf.
EvtAcxPeakMeterProcessRequest
Der EVT_ACX_OBJECT_PROCESS_REQUEST Rückruf.
Bemerkungen
Beispiel
Die Verwendungsbeispiele finden Sie unten.
ACX_PEAKMETER_CALLBACKS peakmeterCallbacks;
ACX_PEAKMETER_CONFIG peakmeterCfg;
ACXPEAKMETER peakmeterElement;
...
ACX_PEAKMETER_CALLBACKS peakmeterCallbacks;
ACX_PEAKMETER_CALLBACKS_INIT(&peakmeterCallbacks);
peakmeterCallbacks.EvtAcxPeakMeterRetrieveLevel = CodecR_EvtPeakMeterRetrieveLevelCallback;
ACX_PEAKMETER_CONFIG peakmeterCfg;
ACX_PEAKMETER_CONFIG_INIT(&peakmeterCfg);
peakmeterCfg.ChannelsCount = MAX_CHANNELS;
peakmeterCfg.Minimum = PEAKMETER_MINIMUM;
peakmeterCfg.Maximum = PEAKMETER_MAXIMUM;
peakmeterCfg.SteppingDelta = PEAKMETER_STEPPING_DELTA;
peakmeterCfg.Callbacks = &peakmeterCallbacks;
ACX-Anforderungen
AcX-Mindestversion: 1.0
Weitere Informationen zu ACX-Versionen finden Sie unter ACX-Versionsübersicht.
Anforderungen
Anforderung | Wert |
---|---|
Header | acxelements.h |