Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ISpRecoGrammar::GetRecoContext (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

ISpRecoGrammar::GetRecoContext

ISpRecoGrammar::GetRecoContext retrieves the ISpRecoContext object that created this grammar. If this method succeeds, the application using this method must call Release() on the SpRecoContext object returned.

HRESULT GetRecoContext(
   ISpRecoContext   **ppRecoCtxt
);

Parameters

ppRecoCtxt
[out] Address of a pointer to an ISpRecoContext interface that receives the recognition context object pointer.

Return values

ValueDescription
S_OKFunction completed successfully.
E_POINTERppRecoCtxt is invalid or bad.
Show:
© 2015 Microsoft