ISpProperties::GetPropertyString (SAPI 5.4)
Microsoft Speech API 5.4
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 |
S_OK |
S_FALSE |
E_INVALIDARG |
E_POINTER |
FAILED(hr) |