Export (0) Print
Expand All

ISpDataKey::GetStringValue (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGpszValueName is invalid or bad.
E_POINTERppszValue is invalid or bad.
SPERR_NOT_FOUNDRegistry file not found.
FAILED(hr)Appropriate error message.
Show:
© 2014 Microsoft