ISpProperties::GetPropertyNum (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpProperties::GetPropertyNum

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

HRESULT GetPropertyNum(
   LPCWSTR       *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.