51 references to ILockBytes
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.State.cs (2)
32private AgileComPointer<ILockBytes>? _lockBytes; 155ILockBytes* lockBytes;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (1)
38using ComScope<ILockBytes> pLockBytes = new(null);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\MultilineStringEditor.OleCallback.cs (1)
30using ComScope<ILockBytes> pLockBytes = new(null);
System.Windows.Forms.Primitives (47)
Windows.Win32.ILockBytes.g.cs (39)
26 :IVTable<ILockBytes,ILockBytes.Vtbl>,IComIID { 42 return ((delegate *unmanaged [Stdcall]<ILockBytes*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((ILockBytes*)Unsafe.AsPointer(ref this), riid, ppvObject); 47 return ((delegate *unmanaged [Stdcall]<ILockBytes*,uint>)lpVtbl[1])((ILockBytes*)Unsafe.AsPointer(ref this)); 52 return ((delegate *unmanaged [Stdcall]<ILockBytes*,uint>)lpVtbl[2])((ILockBytes*)Unsafe.AsPointer(ref this)); 58 private static winmdroot.Foundation.HRESULT ReadAt(ILockBytes* pThis, ulong ulOffset, void* pv, uint cb, [Optional] uint* pcbRead) 89 ((delegate *unmanaged [Stdcall]<ILockBytes*,ulong ,void* ,uint ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((ILockBytes*)Unsafe.AsPointer(ref this), ulOffset, pv, cb, pcbRead).ThrowOnFailure(); 95 private static winmdroot.Foundation.HRESULT WriteAt(ILockBytes* pThis, ulong ulOffset, void* pv, uint cb, [Optional] uint* pcbWritten) 126 ((delegate *unmanaged [Stdcall]<ILockBytes*,ulong ,void* ,uint ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((ILockBytes*)Unsafe.AsPointer(ref this), ulOffset, pv, cb, pcbWritten).ThrowOnFailure(); 132 private static winmdroot.Foundation.HRESULT Flush(ILockBytes* pThis) 159 ((delegate *unmanaged [Stdcall]<ILockBytes*,winmdroot.Foundation.HRESULT>)lpVtbl[5])((ILockBytes*)Unsafe.AsPointer(ref this)).ThrowOnFailure(); 165 private static winmdroot.Foundation.HRESULT SetSize(ILockBytes* pThis, ulong cb) 193 ((delegate *unmanaged [Stdcall]<ILockBytes*,ulong ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((ILockBytes*)Unsafe.AsPointer(ref this), cb).ThrowOnFailure(); 199 private static winmdroot.Foundation.HRESULT LockRegion(ILockBytes* pThis, ulong libOffset, ulong cb, uint dwLockType) 232 ((delegate *unmanaged [Stdcall]<ILockBytes*,ulong ,ulong ,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((ILockBytes*)Unsafe.AsPointer(ref this), libOffset, cb, dwLockType).ThrowOnFailure(); 238 private static winmdroot.Foundation.HRESULT UnlockRegion(ILockBytes* pThis, ulong libOffset, ulong cb, uint dwLockType) 271 ((delegate *unmanaged [Stdcall]<ILockBytes*,ulong ,ulong ,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((ILockBytes*)Unsafe.AsPointer(ref this), libOffset, cb, dwLockType).ThrowOnFailure(); 286 private static winmdroot.Foundation.HRESULT Stat(ILockBytes* pThis, winmdroot.System.Com.STATSTG* pstatstg, uint grfStatFlag) 321 ((delegate *unmanaged [Stdcall]<ILockBytes*,winmdroot.System.Com.STATSTG* ,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((ILockBytes*)Unsafe.AsPointer(ref this), pstatstg, grfStatFlag).ThrowOnFailure(); 345 internal delegate *unmanaged [Stdcall]<ILockBytes*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 347 internal delegate *unmanaged [Stdcall]<ILockBytes*,uint> AddRef_2; 349 internal delegate *unmanaged [Stdcall]<ILockBytes*,uint> Release_3; 351 internal delegate *unmanaged [Stdcall]<ILockBytes*,ulong ,void* ,uint ,uint* ,winmdroot.Foundation.HRESULT> ReadAt_4; 353 internal delegate *unmanaged [Stdcall]<ILockBytes*,ulong ,void* ,uint ,uint* ,winmdroot.Foundation.HRESULT> WriteAt_5; 355 internal delegate *unmanaged [Stdcall]<ILockBytes*,winmdroot.Foundation.HRESULT> Flush_6; 357 internal delegate *unmanaged [Stdcall]<ILockBytes*,ulong ,winmdroot.Foundation.HRESULT> SetSize_7; 359 internal delegate *unmanaged [Stdcall]<ILockBytes*,ulong ,ulong ,uint ,winmdroot.Foundation.HRESULT> LockRegion_8; 361 internal delegate *unmanaged [Stdcall]<ILockBytes*,ulong ,ulong ,uint ,winmdroot.Foundation.HRESULT> UnlockRegion_9; 363 internal delegate *unmanaged [Stdcall]<ILockBytes*,winmdroot.System.Com.STATSTG* ,uint ,winmdroot.Foundation.HRESULT> Stat_10;
Windows.Win32.PInvoke.OLE32.dll.g.cs (6)
98 internal static extern unsafe winmdroot.Foundation.HRESULT CreateILockBytesOnHGlobal(winmdroot.Foundation.HGLOBAL hGlobal, winmdroot.Foundation.BOOL fDeleteOnRelease, winmdroot.System.Com.StructuredStorage.ILockBytes** pplkbyt); 121 internal static extern unsafe winmdroot.Foundation.HRESULT GetHGlobalFromILockBytes(winmdroot.System.Com.StructuredStorage.ILockBytes* plkbyt, winmdroot.Foundation.HGLOBAL* phglobal); 200 internal static extern unsafe winmdroot.Foundation.HRESULT StgCreateDocfileOnILockBytes(winmdroot.System.Com.StructuredStorage.ILockBytes* plkbyt, winmdroot.System.Com.STGM grfMode, uint reserved, winmdroot.System.Com.StructuredStorage.IStorage** ppstgOpen); 202 /// <inheritdoc cref="StgOpenStorageOnILockBytes(winmdroot.System.Com.StructuredStorage.ILockBytes*, winmdroot.System.Com.StructuredStorage.IStorage*, winmdroot.System.Com.STGM, ushort**, uint, winmdroot.System.Com.StructuredStorage.IStorage**)"/> 204 internal static unsafe winmdroot.Foundation.HRESULT StgOpenStorageOnILockBytes(winmdroot.System.Com.StructuredStorage.ILockBytes* plkbyt, winmdroot.System.Com.StructuredStorage.IStorage* pstgPriority, winmdroot.System.Com.STGM grfMode, ushort** snbExclude, winmdroot.System.Com.StructuredStorage.IStorage** ppstgOpen) 234 internal static extern unsafe winmdroot.Foundation.HRESULT StgOpenStorageOnILockBytes(winmdroot.System.Com.StructuredStorage.ILockBytes* plkbyt, [Optional] winmdroot.System.Com.StructuredStorage.IStorage* pstgPriority, winmdroot.System.Com.STGM grfMode, [Optional] ushort** snbExclude, uint reserved, winmdroot.System.Com.StructuredStorage.IStorage** ppstgOpen);
Windows.Win32.System_Com_StructuredStorage_ILockBytes_Extensions.g.cs (2)
23 /// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.ILockBytes.Interface.Stat(winmdroot.System.Com.STATSTG*, uint)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT Stat(this winmdroot.System.Com.StructuredStorage.ILockBytes.Interface @this, out winmdroot.System.Com.STATSTG pstatstg, uint grfStatFlag)