ISpProperties::GetPropertyString (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpProperties::GetPropertyString

ISpProperties::GetPropertyString retrieves the string value corresponding to the specified key name.

HRESULT GetPropertyString(
   LPCWSTR       *pName,
   WCHAR        **ppCoMemValue
);

Parameters

pName
[in] Null-terminated string containing the property name. Valid values are listed in the SR Properties section of the SAPI 5.0 SR Properties White Paper.
ppCoMemValue
[out] Address to store the pointer to the string value.
The caller must call CoTaskMemFree() to free the string pointer.

Return values

Value Description
S_OK Function completed successfully.
S_FALSE SR engine does not support specified property name.
E_INVALIDARG One or more parameters are invalid.
E_POINTER Value pointer is invalid.
FAILED(hr) SR engine returned specific error.