ISpDataKey::SetDWORD

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpDataKey::SetDWORD

ISpDataKey::SetDWORD sets the value information for a specified token.


HRESULT SetDWORD(
   const WCHAR   *pszKeyName,
   DWORD          dwValue
);

Parameters

pszKeyName
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.