Share via


ISpStreamFormat (Windows CE 5.0)

Send Feedback

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

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.

See Also

SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.