Microsoft Speech SDK
SAPI 5.1
ISpGramCompBackend::InitFromBinaryGrammar
ISpGramCompBackend::InitFromBinaryGrammar initializes a grammar from binary data.
HRESULT InitFromBinaryGrammar(
const SPBINARYGRAMMAR *pBinaryData
);
Parameters
- pBinaryData
- Pointer to the grammar list.
Return values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | pBinaryData is invalid or bad. |
E_OUTOFMEMORY | Exceeded available memory. |
FAILED (hr) | Appropriate error message. |