Share via


ISpStream::Close (Windows CE 5.0)

Send Feedback

This method closes the audio stream and validates the close operation. Releasing the ISpStream object automatically calls this method. The application is not notified of any errors encountered during release. Thus the application can explicitly call this method before stream release to check that no errors occurred during the close operation.

HRESULT Close(void);

Parameters

None.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
SPERR_STREAM_CLOSED The stream is closed or unavailable.
FAILED(hr) Appropriate error message.

Requirements

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

See Also

ISpStream | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.