Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

CSpStreamFormat::ParamValidateCopyTo

CSpStreamFormat::ParamValidateCopyTo validates the pointers for the format ID and WAV format parameters. If successful, copies the stream using CopyTo.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT ParamValidateCopyTo( GUID</strong> *<em>pFormatId</em>, <strong>WAVEFORMATEX</strong> **<em>ppCoMemWFEX</em> <strong>);</strong></pre>

Parameters

  • pFormatId
    The proposed pointer for the format ID.
  • ppCoMemWFEX
    The proposed pointer for the stream.

Return Values

Value Description
S_OK Function completed successfully.
E_OUTOFMEMORY Exceeded available memory.
E_POINTER Either pFormatId or ppCoMemWFEX is invalid or bad.