Partager via


ISpeechResourceLoader Interface (SAPI 5.3)

Microsoft Speech API 5.3

ISpeechResourceLoader

New in SAPI 5.3

The ISpeechResourceLoader interface gives applications control over loading resources. For example, applications may want to cache remote resources, enforce custom security policies, or redirect resources to other locations.

Applications implement a resource loader by implementing either LoadResource or both GetLocalCopy and ReleaseLocalCopy. The resource loader can be provided via ISpRecoGrammar2::SetGrammarLoader.

Automation Interface Elements

The ISpeechResourceLoader automation interface contains the following elements:

Methods
GetLocalCopy Method
LoadResource Method
ReleaseLocalCopy Method