ACX_EVENT_CONFIG_INIT function (acxevents.h)

The ACX_EVENT_CONFIG_INIT function initializes an ACX_EVENT_CONFIG structure. No inputs are used with this function.

Syntax

void ACX_EVENT_CONFIG_INIT(
  PACX_EVENT_CONFIG Config
);

Parameters

Config

An initialized ACX_EVENT_CONFIG structure that describes the configuration of the event.

Return value

None

Remarks

Example

This example shows the use of ACX_EVENT_CONFIG_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

See also