Export (0) Print
Expand All

ISpDataKey::SetData (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGEither pszValueName or pData is an invalid or bad pointer.
FAILED(hr)Appropriate error message.
Show:
© 2015 Microsoft