ISpRecoGrammar::GetRecoContext (Windows CE 5.0)

Send Feedback

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

HRESULT GetRecoContext(ISpRecoContext** ppRecoCtxt);

Parameters

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

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
E_POINTER ppRecoCtxt is invalid or bad.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.

See Also

ISpRecoGrammar | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.