Share via


ISpStream::GetBaseStream (Windows Embedded CE 6.0)

1/6/2010

This method gets the encapsulated IStream object for an ISpStream object.

Syntax

HRESULT GetBaseStream(
  IStream** ppStream
);

Parameters

  • ppStream
    [out] Address of a pointer to the encapsulated IStream object containing an audio stream or text stream.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

E_POINTER

The ppStream pointeris invalid or bad.

SPERR_STREAM_CLOSED

The stream is closed or unavailable.

S_FALSE

The ISpStream instance has not been initialized with an IStream.

Requirements

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

See Also

Reference

ISpStream
SAPI Interfaces