C# Class ATMLCommonLibrary.controls.StreamWrapper

Inheritance: IStream
Mostra file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Public Methods

Method Description
Clone ( IStream &ppstm ) : void
Commit ( int grfCommitFlags ) : void
CopyTo ( IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten ) : void
LockRegion ( long libOffset, long cb, int dwLockType ) : void
Read ( byte pv, int cb, IntPtr pcbRead ) : void
Revert ( ) : void
Seek ( long dlibMove, int dwOrigin, IntPtr plibNewPosition ) : void
SetSize ( long libNewSize ) : void
Stat ( STATSTG &pstatstg, int grfStatFlag ) : void
StreamWrapper ( Stream stream ) : System
UnlockRegion ( long libOffset, long cb, int dwLockType ) : void
Write ( byte pv, int cb, IntPtr pcbWritten ) : void

Method Details

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

LockRegion() public method

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

Read() public method

public Read ( byte pv, int cb, IntPtr pcbRead ) : void
pv byte
cb int
pcbRead System.IntPtr
return void

Revert() public method

public Revert ( ) : void
return void

Seek() public method

public Seek ( long dlibMove, int dwOrigin, IntPtr plibNewPosition ) : void
dlibMove long
dwOrigin int
plibNewPosition System.IntPtr
return void

SetSize() public method

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

Stat() public method

public Stat ( STATSTG &pstatstg, int grfStatFlag ) : void
pstatstg System.Runtime.InteropServices.ComTypes.STATSTG
grfStatFlag int
return void

StreamWrapper() public method

public StreamWrapper ( Stream stream ) : System
stream Stream
return System

UnlockRegion() public method

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

Write() public method

public Write ( byte pv, int cb, IntPtr pcbWritten ) : void
pv byte
cb int
pcbWritten System.IntPtr
return void