Share via


ISpStreamFormat (Windows Embedded CE 6.0)

1/6/2010

This interface is the minimum extra interface required by SAPI on top of the IStream interface. It inherits from IStream, and allows SAPI to query the stream to determine the format of the stream data. Almost all SAPI functions requiring or returning a stream will require or return an ISpStreamFormat.

When to Implement

This interface should be implemented when implementing a stream from scratch. If an existing IStream already exists, it can be conveniently used with SAPI by using the provided ISpStream object. In typical use, this interface does not need to be implemented.

Implemented By

  • SpMMAudioIn
  • SpMMAudioOut
  • SpStreamFormatConverter
  • SpStream

Methods

The following table lists the method for the ISpStreamFormat interface.

Method Description

GetFormat

Passes back the cached format of the stream.

Requirements

Header sapi.h, sapi.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

SAPI Interfaces