다음을 통해 공유


ISpSREngine::SetSite (Windows Embedded CE 6.0)

1/6/2010

This method sets the engine site object (ISpSREngineSite) for the SR engine to use. The SR engine can call back to SAPI using the methods in the engine site object.

Syntax

HRESULT SetSite(
  ISpSREngineSite* pSite
);

Parameters

  • pSite
    [in] Pointer to an object implementing ISpSREngineSite.

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

ISpSREngine
SAPI Interfaces