System.Drawing.ComIStreamMarshaler.NativeToManagedWrapper.NativeToManagedWrapper C# (CSharp) Метод

NativeToManagedWrapper() приватный Метод

private NativeToManagedWrapper ( IntPtr comInterface, bool outParam ) : System
comInterface System.IntPtr
outParam bool
Результат System
			private NativeToManagedWrapper(IntPtr comInterface, bool outParam)
			{
				this.comInterface = comInterface;
				managedVtable = (IStreamVtbl)Marshal.PtrToStructure(Marshal.ReadIntPtr(comInterface), typeof(IStreamVtbl));
				if (!outParam)
					managedVtable.AddRef(comInterface);
			}