Share via


ISpDataKey::GetStringValue (SAPI 5.3)

Microsoft Speech API 5.3

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
S_OK
E_INVALIDARG
E_POINTER
SPERR_NOT_FOUND
FAILED(hr)