ISpSREngine::OnCreateRecoContext (Windows Embedded CE 6.0)
1/6/2010
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.
Syntax
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 Value
The following table shows the possible return values.
Value | Description |
---|---|
NOERROR |
No error is possible with this function. |
Requirements
Header | sapiddk.h, sapiddk.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |