Share via


ISpGramCompBackend::InitFromBinaryGrammar

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method initializes a grammar from binary data.

Syntax

HRESULT InitFromBinaryGrammar(
  const SPBINARYGRAMMAR* pBinaryData
);

Parameters

  • pBinaryData
    [in] Pointer to an SPBINARYGRAMMAR structure containing information about the binary grammar.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

E_POINTER

pBinaryData is invalid or bad.

E_OUTOFMEMORY

Exceeded available memory.

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

ISpGramCompBackend
SAPI Interfaces