Skip to content

Latest commit

 

History

History
139 lines (106 loc) · 3.84 KB

nf-keyworddetectoroemadapter-ikeyworddetectoroemadapter-computeandaddusermodeldata.md

File metadata and controls

139 lines (106 loc) · 3.84 KB
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.ComputeAndAddUserModelData
IKeywordDetectorOemAdapter::ComputeAndAddUserModelData (keyworddetectoroemadapter.h)
The ComputeAndAddUserModelData method is used by the training user experience to compute the user-specific information relative to the user-independent keyword.
audio\ikeyworddetectoroemadapter_computeandaddusermodeldata.htm
audio
05/08/2018
IKeywordDetectorOemAdapter::ComputeAndAddUserModelData
ComputeAndAddUserModelData, ComputeAndAddUserModelData method [Audio Devices], ComputeAndAddUserModelData method [Audio Devices],IKeywordDetectorOemAdapter interface, IKeywordDetectorOemAdapter interface [Audio Devices],ComputeAndAddUserModelData method, IKeywordDetectorOemAdapter.ComputeAndAddUserModelData, IKeywordDetectorOemAdapter::ComputeAndAddUserModelData, audio.ikeyworddetectoroemadapter_computeandaddusermodeldata, keyworddetectoroemadapter/IKeywordDetectorOemAdapter::ComputeAndAddUserModelData
keyworddetectoroemadapter.h
Windows
Windows 10
Windows Server 2016
KeywordDetectorOemAdapter.idl
Windows
IKeywordDetectorOemAdapter::ComputeAndAddUserModelData
keyworddetectoroemadapter/IKeywordDetectorOemAdapter::ComputeAndAddUserModelData
APIRef
kbSyntax
COM
KeywordDetectorOemAdapter.h
IKeywordDetectorOemAdapter::ComputeAndAddUserModelData

IKeywordDetectorOemAdapter::ComputeAndAddUserModelData

-description

The ComputeAndAddUserModelData method is used by the training user experience to compute the user-specific information relative to the user-independent keyword. The DLL updates the ModelData parameter with the results.

-parameters

-param ModelData [in]

A pointer to the IStream object bound to model data. It is modified by this call.

-param KeywordSelector [in]

A KEYWORDSELECTOR struct that uniquely identifies this model.

-param KeywordEndBytePos [in]

Indicates the end of the keyword in the UserRecording.

-param UserRecordings [in]

A pointer to an array of pointers to the previously verified user recordings of the keyword.

-param NumUserRecordings [in]

The number of recordings.

-returns

This method can return one of these values.

Return value Description
S_OK
The function exited successfully.
E_NOTIMPL
User keyword training is not supported by the device.
E_INVALIDARG
Either the KeywordId or LangId parameters are invalid.
HRESULT_FROM_WIN32(ERROR_GEN_FAILURE)
The processing was unable to complete.

-see-also

IKeywordDetectorOemAdapter

KEYWORDSELECTOR