ISpSREngine::SetSite

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpSREngine::SetSite

ISpSREngine::SetSite sets the ISpSREngineSite interface for the engine to use. The SR engine can call back to SAPI using the methods in the ISpSREngineSite.

HRESULT SetSite(
   ISpSREngineSite   *pSite
);

Parameters

pSite
Pointer to the ISpEngineSite interface for the engine to use to call back to SAPI.

Return values

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