AcxElementAddEvents function (acxelements.h)

The AcxElementAddEvents function provides the ability to add ACXEVENT event objects to an existing ACXELEMENT object.

Syntax

NTSTATUS AcxElementAddEvents(
  ACXELEMENT Element,
  ACXEVENT   *Events,
  ULONG      EventsCount
);

Parameters

Element

An existing ACXELEMENT object. For more information about ACX objects, see Summary of ACX Objects.

Events

One or more ACXEVENT objects.

EventsCount

The number of events in the Events array.

Return value

Returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code. For more information, see Using NTSTATUS Values.

Remarks

Example

Example usage is shown below.

Sample Pending


ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

Requirements

Requirement Value
Header acxelements.h
IRQL PASSIVE_LEVEL

See also