C# Class Zetbox.Client.WPF.View.DocumentManagement.COMStream

Inheritance: IStream, IDisposable
Mostra file Open project: daszat/zetbox Class Usage Examples

Public Methods

Method Description
COMStream ( Stream sourceStream ) : System
Clone ( IStream &ppstm ) : void
Commit ( int grfCommitFlags ) : void
CopyTo ( IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten ) : void
Dispose ( ) : void
LockRegion ( long libOffset, long cb, int dwLockType ) : void
Revert ( ) : void
SetSize ( long libNewSize ) : void
Stat ( System &pstatstg, int grfStatFlag ) : void
UnlockRegion ( long libOffset, long cb, int dwLockType ) : void

Private Methods

Method Description
COMStream ( ) : System
Read ( byte pv, int cb, IntPtr pcbRead ) : void
Seek ( long dlibMove, int dwOrigin, IntPtr plibNewPosition ) : void
Write ( byte pv, int cb, IntPtr pcbWritten ) : void

Method Details

COMStream() public method

public COMStream ( Stream sourceStream ) : System
sourceStream Stream
return System

Clone() public method

public Clone ( IStream &ppstm ) : void
ppstm IStream
return void

Commit() public method

public Commit ( int grfCommitFlags ) : void
grfCommitFlags int
return void

CopyTo() public method

public CopyTo ( IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten ) : void
pstm IStream
cb long
pcbRead System.IntPtr
pcbWritten System.IntPtr
return void

Dispose() public method

public Dispose ( ) : void
return void

LockRegion() public method

public LockRegion ( long libOffset, long cb, int dwLockType ) : void
libOffset long
cb long
dwLockType int
return void

Revert() public method

public Revert ( ) : void
return void

SetSize() public method

public SetSize ( long libNewSize ) : void
libNewSize long
return void

Stat() public method

public Stat ( System &pstatstg, int grfStatFlag ) : void
pstatstg System
grfStatFlag int
return void

UnlockRegion() public method

public UnlockRegion ( long libOffset, long cb, int dwLockType ) : void
libOffset long
cb long
dwLockType int
return void