Share via


ISpCFGInterpreter::InitGrammar (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

FAILED(hr)

Appropriate error message.

Requirements

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

See Also

Reference

ISpCFGInterpreter
SAPI Interfaces