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