Microsoft Speech Platform
ISpLexicon2::LoadLexiconFromStream
ISpLexicon2::LoadLexiconFromStream loads a lexicon from a stream.
HRESULT LoadLexiconFromStream (
IStream *pStream,
DWORD dwReserved
);
Parameters
- pStream
- [in] A pointer to a stream.
- dwReserved
- [in] Reserved for future use.
Return values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | pStream is not a valid write pointer. |
E_INVALIDARG | At least one of the parameters is invalid. |
E_OUTOFMEMORY | Exceeded available memory. |
SPERR_ALREADY_INITIALIZED | The object is already initialized. |
FAILED(hr) | Appropriate error message. |