ISpRecognizer::GetRecognizer

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpRecognizer::GetRecognizer

ISpRecognizer::GetRecognizer retrieves the current speech recognition engine being used with this ISpRecognizer.

HRESULT GetRecognizer(
   ISpObjectToken   **ppEngineToken
);

Parameters

ppEngineToken
[out] The object token representing the current speech recognition engine.

Return values

Value Description
S_OK Function completed successfully.
E_POINTER ppEngineToken is invalid or bad.
FAILED(hr) Appropriate error message.