IsEqual

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

CSpStreamFormat::IsEqual

CSpStreamFormat::IsEqual compares a specified stream format and format ID to the instance's format and format ID.


BOOL IsEqual(
   REFGUID                 rguidFormatId,
   const   WAVEFORMATEX   *pwfex
)

Parameters

rguidFormatId
The format ID of the stream to compare with.
pwfex
The wave format of the stream to compare with.

Return values

Value Description
TRUE The two streams are identical.
FALSE The reference IDs of the streams are not the same, or the streams have different contents.