Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
ISpDataKey::GetStringValue
ISpDataKey::GetStringValue retrieves the string value information from a specified token.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT GetStringValue(</strong> <strong> LPCWSTR </strong> *<em>pszValueName</em>, <strong> LPWSTR </strong>**<em>ppszValue</em> <strong>);</strong> </pre>
Parameters
- pszValueName
Address of a null-terminated string that specifies the name of the registry key. If NULL, the default value of the token is read. - ppszValue
Address of a pointer to a null-terminated string that receives the string value for the specified key.
Return Values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | pszValueName is invalid or bad. |
E_POINTER | ppszValue is invalid or bad. |
SPERR_NOT_FOUND | Registry file not found. |
FAILED(hr) | Appropriate error message. |