ACX_EVENT_CONFIG_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// acxevents.h

VOID ACX_EVENT_CONFIG_INIT(
  PACX_EVENT_CONFIG Config
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-acxevents-acx_event_config_init)

Description

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

Parameters

Config

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

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.

See also