::OnLoadCFG

ISpSREngine2::OnLoadCFG (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpSREngine2::OnLoadCFG

ISpSREngine2::OnLoadCFG passes the binary CFG data to the engine so that the engine can consume it directly rather than call SAPI to retrieve information from the grammar.


HRESULT OnLoadCFG(
   void                     *pvEngineGrammar,
   const SPBINARYGRAMMAR    *pGrammarData,
   ULONG                     ulGrammarID
);

Parameters

pvEngineGrammar
Pointer to the data that the engine has associated with the grammar.
pGrammarData
Pointer to the grammar data.
ulGrammarID
Grammar ID.

Return values

ValueDescription
S_OKFunction completed successfully.
E_NOINTERFACEInterface not supported by the engine.
Show:
© 2016 Microsoft