Share via


ISpDataKey::GetData (SAPI 5.3)

Microsoft Speech API 5.3

ISpDataKey::GetData

ISpDataKey::GetData retrieves the binary data for a token.

  
    HRESULT GetData(
   LPCWSTR       *pszValueName,
   ULONG         *pcbData,
   BYTE          *pData
);

Parameters

  • pszValueName
    Address of a null-terminated string containing the name of the registry key from which to retrieve the registry key value.
  • pcbData
    [in] Size of the pData parameter.
  • pData
    [out] Pointer to the buffer receiving the information.

Return values

Value
S_OK
E_INVALIDARG
E_POINTER
SPERR_NOT_FOUND
FAILED(hr)