Share via


ISpDataKey::SetStringValue (SAPI 5.3)

Microsoft Speech API 5.3

ISpDataKey::SetStringValue

ISpDataKey::SetStringValue sets the string value information for a specified token.

  
    HRESULT SetStringValue(
   LPCWSTR      *pszValueName,
   LPCWSTR      *pszValue
);

Parameters

  • pszValueName
    Address of the null-terminated string specifying the name of the string value. If NULL, the default value of the token is used.
  • pszValue
    Address of a null-terminated string that contains the string value to be set for the specified key.

Return values

Value
S_OK
E_INVALIDARG
FAILED(hr)