EVENTACTION - NtDoc

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

typedef struct __MIDL___MIDL_itf_eventdetectoroemadapter_0000_0000_0008 {
  EVENTACTIONTYPE        EventdActionType;
  EVENTACTIONCONTEXTTYPE EventActionContextType;
  union {
    float            Confidence;
    EVENTACTIONSCALE Scale;
    HRESULT          ErrorCode;
  };
} EVENTACTION;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-eventdetectoroemadapter-eventaction)

EVENTACTION structure

Description

Structure used to provide detail from ParseDetectionResults.

Members

EventdActionType

Actions to take on a detection. This is a value from the EventActionType enumeration.

EventActionContextType

The types of context associated with an action. This is a value from the EventActionContextType enumeration.

Confidence

The confidence level is a number between 0.0 and 1.0 that represents how confident the algorithm is that the keyword was detected.

Scale

The scale as defined in the EVENTACTIONSCALE enumeration. The scale defines the quality associated with a specific detection can be used for telemetry when no confidence is available or confidence is confusing to report.

ErrorCode

An HRESULT error code from ParseDetectionResults.

Remarks

This structure is the part of the Event Detector OEM interface to be used for hardware keyword spotters. For more information, see Voice Activation.

See also