Freigeben über


IStream::Revert (Windows CE 5.0)

Send Feedback

This method discards all changes that have been made to a transacted stream since the last IStream::Commit call. This method has no effect on streams open in direct mode and streams using the OLE compound file implementation of IStream::Revert.

HRESULT Revert(void);

Parameters

None.

Return Values

The following table shows the return values for this method.

Value Description
S_OK The stream was successfully reverted to its previous version.
E_PENDING Asynchronous Storage only: Part or all of the stream's data is currently unavailable.

Remarks

This method discards changes made to a transacted stream since the last commit operation.

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Objidl.h, Objidl.idl.
Link Library: Ole32.lib, Uuid.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.