Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

ISpProperties::GetPropertyNum

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

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT GetPropertyNum(</strong> <strong>LPCWSTR</strong> *<em>pName</em>, <strong>LONG</strong> *<em>plValue</em> <strong>);</strong> </pre>

Parameters

  • pName
    [in] String containing the property name. See Modify Speech Recognition Engine Properties for valid values.
  • plValue
    [out] Address to store the property value.

Return Values

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