Function Reference
_StreamRevert
Discards changes since the last commit using IStream::Revert.
_StreamRevert(ByRef $oStream)
Parameters
$oStream
IStream COM object.
Return Value
Success:
1
Failure:
0, sets @error to:
1 - Invalid stream object.
2 - COM error (HRESULT in @extended).
Remarks
Only applicable to transacted streams. Memory streams typically return STG_E_INVALIDFUNCTION.
Related
_StreamCommit