ISpDataKey::SetData (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpDataKey::SetData

ISpDataKey::SetData sets the binary data for a token.

HRESULT SetData(
   LPCWSTR       *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.