ACX_EVENT_CALLBACKS_INIT function (acxevents.h)
The ACX_EVENT_CALLBACKS_INIT function initializes a ACX_EVENTS_CALLBACKS structure. No inputs are used with this function.
Syntax
void ACX_EVENT_CALLBACKS_INIT(
PACX_EVENT_CALLBACKS Callbacks
);
Parameters
Callbacks
A pointer to an initialized ACX_EVENTS_CALLBACKS structure.
Return value
None
Remarks
Example
This example shows the use of ACX_EVENT_CALLBACKS_INIT.
ACX_EVENT_CALLBACKS eventCallbacks;
ACX_EVENT_CONFIG eventCfg;
//
// Add enable/disable callbacks for this element.
//
ACX_EVENT_CALLBACKS_INIT(&eventCallbacks);
eventCallbacks.EvtAcxEventEnable = &TestElement::EvtEventEnableCallback;
eventCallbacks.EvtAcxEventDisable = &TestElement::EvtEventDisableCallback;
ACX_EVENT_CONFIG_INIT(&eventCfg);
ACX requirements
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.
Requirements
Requirement | Value |
---|---|
Header | acxevents.h |