Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
ISpDataKey::GetDWORD
ISpDataKey::GetDWORD retrieves the value information from a specified token.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT GetDWORD(</strong> <strong> LPCWSTR</strong> *<em>pszKeyName</em>, <strong> DWORD</strong> *<em>pdwValue</em> <strong>);</strong> </pre>
Parameters
- pszKeyName
[in] Address of a null-terminated string containing the token name. - pdwValue
[out] Address of the destination data buffer receiving the token key value.
Return Values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | pszKeyName is invalid or bad. |
E_POINTER | pdwValue is invalid or bad. |
SPERR_NOT_FOUND | Registry key not found. |
FAILED(hr) | Appropriate error message. |