ParamValidateCopyTo (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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 Description
S_OK Function completed successfully.
E_OUTOFMEMORY Exceeded available memory.
E_POINTER Either pFormatId or ppCoMemWFEX is invalid or bad.