ISpLexicon2::SaveLexiconToFile (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpLexicon2::SaveLexiconToFile

ISpLexicon2::SaveLexiconToFile saves a lexicon to a file.

HRESULT SaveLexiconToFile  (
   LPCWSTR          pszFileName,
   DWORD            dwReserved
);

Parameters

pszFileName
[in] A pointer to a null-terminated text string that is the lexicon file name.
dwReserved
[in] Reserved for future use.

Return values

Value Description
S_OK Function completed successfully.
E_POINTER pszFileName is not a valid write pointer.
E_INVALIDARG At least one of the parameters is invalid.
E_OUTOFMEMORY Exceeded available memory.
E_NOTIMPL The method is not implemented.