| You are reading help file online using chmlib.com | 
 Microsoft Speech SDK 
SAPI 5.1
Microsoft Speech SDK 
SAPI 5.1
CSpStreamFormat::ParamValidateAssignFormat validates the format ID and wave format. If successful, creates the stream using AssignFormat.
HRESULT ParamValidateAssignFormat(
   REFGUID               rguidFormatId,
   const WAVEFORMATEX   *pWaveFormatEx,
   BOOL                  fRequireWaveFormat = FALSE
)
| Value | Description | 
|---|---|
| E_INVALIDARG | At least one of pWaveFormatEx is NULL, pWaveFormatEx is bad or invalid, rguidFormatId is not SPDFID_WaveFormatEx, or pWaveFormatEx is a non-standard format and is disallowed by fRequireWaveFormat. | 
| You are reading help file online using chmlib.com |