ISpDataKey::GetDWORD

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpDataKey::GetDWORD

ISpDataKey::GetDWORD retrieves the value information from a specified token.


HRESULT GetDWORD(
   const WCHAR   *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.