Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |