Microsoft Speech Platform
ISpDataKey::GetDWORD
ISpDataKey::GetDWORD retrieves the value information from a specified token.
HRESULT GetDWORD(
LPCWSTR *pszKeyName,
DWORD *pdwValue
);
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. |