2 writes to iLockBytes
System.Windows.Forms (2)
winforms\Managed\System\WinForms\AxHost.cs (2)
6706iLockBytes = UnsafeNativeMethods.CreateILockBytesOnHGlobal(new HandleRef(null, hglobal), true); 6725iLockBytes = null;
7 references to iLockBytes
System.Windows.Forms (7)
winforms\Managed\System\WinForms\AxHost.cs (7)
6708storage = UnsafeNativeMethods.StgCreateDocfileOnILockBytes(iLockBytes, 6712storage = UnsafeNativeMethods.StgOpenStorageOnILockBytes(iLockBytes, 6721if (iLockBytes == null && hglobal != IntPtr.Zero) { 6783Debug.Assert(iLockBytes != null, "how can we have a storage w/o ILockBytes?"); 6784if (storage == null || iLockBytes == null) return null; 6792iLockBytes.Stat(stat, NativeMethods.Ole.STATFLAG_NONAME); 6795IntPtr hglobal = UnsafeNativeMethods.GetHGlobalFromILockBytes(iLockBytes);