ISpRecoGrammar::GetRecoContext (Windows Embedded CE 6.0)

1/6/2010

This method gets the ISpRecoContext object that created this grammar. If this method succeeds, the caller must call ISpRecoContext::Release on the retrieved object.

Syntax

HRESULT GetRecoContext(
  ISpRecoContext** ppRecoCtxt
);

Parameters

  • ppRecoCtxt
    [out] Address of a pointer to an object implementing ISpRecoContext that represents the recognition context.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

E_POINTER

ppRecoCtxt is invalid or bad.

Requirements

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

See Also

Reference

ISpRecoGrammar
SAPI Interfaces