Export (0) Print
Expand All

ISpDataKey::SetStringValue (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGEither pszValueName or pszValue is invalid or bad.
FAILED(hr)Appropriate error message.
Show:
© 2014 Microsoft