Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method gets the ISpRecoContext object that created this grammar. If this method succeeds, the caller must call ISpRecoContext::Release on the retrieved object.
HRESULT GetRecoContext(ISpRecoContext** ppRecoCtxt);
Parameters
- ppRecoCtxt
[out] Address of a pointer to an object implementing ISpRecoContext that represents the recognition context.
Return Values
The following table shows the possible return values.
| Value | Description |
|---|---|
| S_OK | Function completed successfully. |
| E_POINTER | ppRecoCtxt is invalid or bad. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.
See Also
ISpRecoGrammar | SAPI Interfaces
Send Feedback on this topic to the authors