Partager via


ISpRecoGrammar::GetRecoContext (SAPI 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

Value
S_OK
E_POINTER