ISpSREngine::OnCreateRecoContext (Windows CE 5.0)
This method informs the SR engine of the creation of a speech recognition context. Each application connected with the SR engine can have one or more recognition contexts.
This method associates a pointer with the new recognition context. SAPI passes this pointer when calling other methods for the context.
HRESULT OnCreateRecoContext( SPRECOCONTEXTHANDLE hSAPIRecoContext, void** ppvEngineContext);
Parameters
- hSAPIRecoContext
[in] Unique handle to the recognition context. - ppvEngineContext
[out] Address of a pointer to any engine-specific information that the engine has associated with this context.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
NOERROR | No error is possible with this function. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.
See Also
Send Feedback on this topic to the authors