ISpDataKey::GetStringValue (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpDataKey::GetStringValue

ISpDataKey::GetStringValue retrieves the string value information from a specified token.

HRESULT GetStringValue(
   LPCWSTR       *pszValueName,
   LPWSTR       **ppszValue
);

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.