Compartir a través de


ISpRecoGrammar2::SetSMLSecurityManager (SAPI 5.3)

Microsoft Speech API 5.3

ISpRecoGrammar2::SetSMLSecurityManager

ISpRecoGrammar2::SetSMLSecurityManager lets a SAPI application manage its own security policy.

By default, SAPI uses Windows' URLMON to determine the security rights of semantic interpretation scripts in SRGS grammars. However, an application may desire to override this with its own security policy, by implementing their own IInternetSecurityManager interface. IInternetSecurityManager is defined by URLMON.

  
    HRESULT SetSMLSecurityManager(
   IInternetSecurityManager    *pSMLSecurityManager
);

Parameters

  • pSMLSecurityManager
    The pointer to the application's implementation of the IInternetSecurityManager interface.

Return values

Value
S_OK
E_POINTER
SPERR_NOT_SUPPORTED_FOR_SHARED_RECOGNIZER
E_NOTIMPL