C# Class System.Drawing.ComIStreamMarshaler.NativeToManagedWrapper

Inheritance: IStream
Mostrar archivo Open project: kumpera/mono

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
UnlockRegion ( long libOffset, long cb, int dwLockType ) : void
Write ( byte pv, int cb, IntPtr pcbWritten ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void
GetInterface ( IntPtr comInterface, bool outParam ) : IStream
GetUnderlyingInterface ( IStream managedInterface ) : IntPtr
NativeToManagedWrapper ( IntPtr comInterface, bool outParam ) : System
ReleaseInterface ( IStream managedInterface ) : void
ThrowExceptionForHR ( int result ) : 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

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