Share via


ISpSREngine2::OnLoadCFG (SAPI 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

Value
S_OK
E_NOINTERFACE