Skip to content

Latest commit

 

History

History
82 lines (60 loc) · 2.87 KB

nf-eventdetectoroemadapter-ieventdetectoroemadapter-buildarmingpatterndata.md

File metadata and controls

82 lines (60 loc) · 2.87 KB
UID title description tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.lib req.dll req.irql req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library targetos ms.custom f1_keywords topic_type api_type api_location api_name
NF:eventdetectoroemadapter.IEventDetectorOemAdapter.BuildArmingPatternData
IEventDetectorOemAdapter::BuildArmingPatternData
Builds the pattern data to be used on a subsequent arm request - this is done once for each pin instance.
audio
02/25/2019
IEventDetectorOemAdapter::BuildArmingPatternData
IEventDetectorOemAdapter::BuildArmingPatternData, BuildArmingPatternData, IEventDetectorOemAdapter.BuildArmingPatternData, IEventDetectorOemAdapter::BuildArmingPatternData, IEventDetectorOemAdapter.BuildArmingPatternData
eventdetectoroemadapter.h
eventdetectoroemadapter.idl
Windows
19H1
IEventDetectorOemAdapter::BuildArmingPatternData
eventdetectoroemadapter/IEventDetectorOemAdapter::BuildArmingPatternData
apiref
COM
eventdetectoroemadapter.h
IEventDetectorOemAdapter::BuildArmingPatternData

IEventDetectorOemAdapter::BuildArmingPatternData

-description

Builds the pattern data to be used on a subsequent arm request - this is done once for each pin instance. The GUID in the SOUNDDETECTOR_PATTERNHEADER can be used to provide additional context to allow optional model use but the expectation is that the individual DETECTIONEVENTS can be armed and disarmed given appropriate feature support.

-parameters

-param UserModelData

[In] - Pointer to IStream bound to model data (optional).

-param EventSelectors

[In] - Pointer to the array of DETECTIONEVENTSELECTOR structs to be detected - associated with this BurstID.

-param NumEventSelectors

[In] - Number of DETECTIONEVENTSELECTOR structs passed.

-param PatternData

[Out] - Pattern data created to reflect the input eventlanguageuser sets for an arm.

-returns

This method returns HRESULT. It returns S_OK if the function exit successfully. Otherwise it returns E_INVALIDARG - UserModelData pointer is null or one or more of the DETECTIONEVENTELECTOR contains invalid ids.

HRESULT_FROM_WIN32(ERROR_GEN_FAILURE) = unable to complete the processing.

-remarks

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

-see-also