ISpProperties::GetPropertyNum

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpProperties::GetPropertyNum

ISpProperties::GetPropertyNum retrieves a numeric value specified by the named key.

HRESULT GetPropertyNum(
   const WCHAR   *pName,
   LONG          *plValue
);

Parameters

pName
[in] String containing the property name. Valid values are listed in the SR Properties section of the SAPI 5.0 SR Properties White Paper.
plValue
[out] Address to store the property value.

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.