Share via


ParamValidateCopyTo (SAPI 5.4)

Microsoft Speech API 5.4

CSpStreamFormat::ParamValidateCopyTo

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

  
    HRESULT ParamValidateCopyTo(
   GUID            *pFormatId,
   WAVEFORMATEX   **ppCoMemWFEX
   );

Parameters

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

Return values

Value
S_OK
E_OUTOFMEMORY
E_POINTER