Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
ISpDataKey::SetDWORD
ISpDataKey::SetDWORD sets the value information for a specified token.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT SetDWORD(</strong> <strong> LPCWSTR</strong> *<em>pszValueName</em>, <strong> DWORD</strong> <em>dwValue</em> <strong>);</strong> </pre>
Parameters
- pszValueName
Address of a null-terminated string that contains the attribute name. - dwValue
The data buffer containing the attribute key value.
Return Values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | pszKeyName is invalid or bad. |
FAILED(hr) | Appropriate error message. |