Microsoft Speech Platform
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 | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | Either pszValueName or pszValue is invalid or bad. |
FAILED(hr) | Appropriate error message. |