UID | title | description | old-location | 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.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:keyworddetectoroemadapter.IKeywordDetectorOemAdapter.BuildArmingPatternData |
IKeywordDetectorOemAdapter::BuildArmingPatternData (keyworddetectoroemadapter.h) |
The BuildArmingPatternData method is called by the operating system to build OEM-specific pattern data that includes any keyword and user-specific model data for detection. |
audio\ikeyworddetectoroemadapter_buildarmingpatterndata.htm |
audio |
05/08/2018 |
|
BuildArmingPatternData, BuildArmingPatternData method [Audio Devices], BuildArmingPatternData method [Audio Devices],IKeywordDetectorOemAdapter interface, IKeywordDetectorOemAdapter interface [Audio Devices],BuildArmingPatternData method, IKeywordDetectorOemAdapter.BuildArmingPatternData, IKeywordDetectorOemAdapter::BuildArmingPatternData, audio.ikeyworddetectoroemadapter_buildarmingpatterndata, keyworddetectoroemadapter/IKeywordDetectorOemAdapter::BuildArmingPatternData |
keyworddetectoroemadapter.h |
Windows |
Windows 10 |
Windows Server 2016 |
KeywordDetectorOemAdapter.idl |
Windows |
|
|
|
|
|
The BuildArmingPatternData method is called by the operating system to build OEM-specific pattern data that includes any keyword and user-specific model data for detection.
A pointer to IStream bound to model data for the KEYWORDSELECTOR values in the KeywordSelectors parameter.
An array of KEYWORDSELECTOR structures identifying the desired set of matches for the keyword detector to arm.
The number of items in the KeywordSelectors array. Only one key word selector is supported and this field must be set to one.
The pattern data for the operating system to pass to the audio driver. The OEMDLL allocates the memory calling CoTaskMemAlloc. The operating system will free the memory by calling CoTaskMemFree.
This method can return one of these values.
Return value | Description |
---|---|
|
The function exited successfully. |
|
The ModelData pointer is NULL. |
|
The KeywordId or LangId parameters are invalid. |
|
The processing was unable to complete. |
The operating system may call this method at any time. The operating system may also store the returned pattern data to reuse later for the same set of keyword selectors.