Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 771 Bytes

TPJIStreamWrapper-Revert.md

File metadata and controls

29 lines (16 loc) · 771 Bytes

Revert method

Project: Stream Extension Classes

Unit: PJIStreams

Classes: TPJIStreamWrapper, TPJHandleIStreamWrapper, TPJFileIStream

Applies to: ~>3.0

function Revert: HResult; virtual; stdcall;

Description

Does nothing.

Discards all changes that have been made to a transacted stream since the last call to Commit. Revert has no effect on streams opened in direct mode.

Since wrapped streams do not support transacted mode, this method does nothing in this implementation.

Parameters:

  • This method has no parameters.

Returns:

  • STG_E_REVERTED on all occasions.