Share via


ISpRecognizer::GetRecognizer

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method identifies the SR engine that is currently being used with the recognizer.

Syntax

HRESULT GetRecognizer(
  ISpObjectToken** ppEngineToken
);

Parameters

  • ppEngineToken
    [out] Address of a pointer to an object implementing ISpObjectToken that represents the current SR engine.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

E_POINTER

ppEngineToken is invalid or bad.

FAILED(hr)

Appropriate error message.

Requirements

Header sapi.h, sapi.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpRecognizer
SAPI Interfaces