Partager via


ISpDataKey::SetData (SAPI 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

Value
S_OK
E_INVALIDARG
FAILED(hr)