Microsoft Speech SDK
SAPI 5.1
ISpDataKey::SetData
ISpDataKey::SetData sets the binary data for a token.
HRESULT SetData(
const WCHAR *pszValueName,
ULONG cbData,
const BYTE *pData
);
Parameters
- pszValueName
- [in] Address of a null-terminated string that contains the registry key value name.
- cbData
- [in] Size of the pData parameter.
- pData
- [out] Pointer to the buffer containing the information.
Return values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | Either pszValueName or pData is an invalid or bad pointer. |
FAILED(hr) | Appropriate error message. |