Compartir a través de


ISpCFGInterpreter::InitGrammar (Windows CE 5.0)

Send Feedback

This method initializes a grammar that is loaded from an object or DLL.

HRESULT InitGrammar(  const WCHAR* pszGrammarName,  const void** pvGrammarData);

Parameters

  • pszGrammarName
    [in] Pointer to a null-terminated string specifying the grammar being loaded.
  • pvGrammarData
    [in] Address of a pointer to the serialized binary grammar.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
FAILED(hr) Appropriate error message.

Requirements

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

See Also

ISpCFGInterpreter | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.