ISpDataKey (SAPI 5.4)

Microsoft Speech API 5.4

ISpDataKey

The ISpDataKey interface provides a mechanism for storing and retrieving string and other data. ISpDataKey is used in conjunction with object tokens, which implement ISpObjectToken, which inherits from ISpDataKey. For example, data can be stored in an object token representing a recognizer or TTS engine using this interface.

Implemented By
  • SpObjectToken object. This is the standard class used for all existing SAPI object tokens. The data for each object token is stored in the registry.
  • SpDataKey object. This class stores the data associated with the data key in the registry.
  • Applications or engines can implement this interface directly if they wish to provide a custom data key implementation.

Methods in Vtable Order

ISpDataKey Methods
SetData
GetData
SetStringValue
GetStringValue
SetDWORD
GetDWORD
OpenKey
CreateKey
DeleteKey
DeleteValue
EnumKeys
EnumValues