60 references to IPersistStreamInit
System.Windows.Forms (21)
System\Windows\Forms\ActiveX\AxHost.cs (4)
1886using var persistStreamInit = ComHelpers.GetComScope<IPersistStreamInit>(_instance); 2038using (var persistStreamInit = ComHelpers.GetComScope<IPersistStreamInit>(_instance)) 2742using var persistStreamInit = ComHelpers.TryGetComScope<IPersistStreamInit>(_instance, out HRESULT hr); 2791using (var persistStreamInit = ComHelpers.TryGetComScope<IPersistStreamInit>(_instance, out HRESULT hr))
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
1025/// <inheritdoc cref="IPersistStreamInit.Load(IStream*)"/> 1478/// <inheritdoc cref="IPersistStreamInit.Save(IStream*, BOOL)"/>
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (11)
23IPersistStreamInit.Interface, 441HRESULT IPersistStreamInit.Interface.GetClassID(Guid* pClassID) 453HRESULT IPersistStreamInit.Interface.IsDirty() => ActiveXInstance.IsDirty(); 455/// <inheritdoc cref="IPersistStreamInit.Load(IStream*)"/> 456HRESULT IPersistStreamInit.Interface.Load(IStream* pStm) 467/// <inheritdoc cref="IPersistStreamInit.Save(IStream*, BOOL)"/> 468HRESULT IPersistStreamInit.Interface.Save(IStream* pStm, BOOL fClearDirty) 479/// <inheritdoc cref="IPersistStreamInit.GetSizeMax(ulong*)"/> 480HRESULT IPersistStreamInit.Interface.GetSizeMax(ulong* pCbSize) => HRESULT.S_OK; 482/// <inheritdoc cref="IPersistStreamInit.InitNew"/> 483HRESULT IPersistStreamInit.Interface.InitNew() => HRESULT.S_OK;
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (2)
267IPersistStreamInit.Interface? psi = htmlDocument.DomDocument as IPersistStreamInit.Interface;
System\Windows\Forms\Controls\WebBrowser\WebBrowser.WebBrowserEvent.cs (2)
83IPersistStreamInit.Interface? psi = htmlDocument.DomDocument as IPersistStreamInit.Interface;
System.Windows.Forms.Primitives (39)
_generated\221\Windows.Win32.IPersistStreamInit.g.cs (35)
27 :winmdroot.IVTable<IPersistStreamInit,IPersistStreamInit.Vtbl>,IComIID { 44 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IPersistStreamInit*)Unsafe.AsPointer(ref this), riid, ppvObject); 49 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,uint>)lpVtbl[1])((IPersistStreamInit*)Unsafe.AsPointer(ref this)); 54 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,uint>)lpVtbl[2])((IPersistStreamInit*)Unsafe.AsPointer(ref this)); 70 private static winmdroot.Foundation.HRESULT GetClassID(IPersistStreamInit* pThis, global::System.Guid* pClassID) 89 ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,global::System.Guid* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IPersistStreamInit*)Unsafe.AsPointer(ref this), pClassID).ThrowOnFailure(); 95 private static winmdroot.Foundation.HRESULT IsDirty(IPersistStreamInit* pThis) 120 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IPersistStreamInit*)Unsafe.AsPointer(ref this)); 126 private static winmdroot.Foundation.HRESULT Load(IPersistStreamInit* pThis, winmdroot.System.Com.IStream* pStm) 155 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IPersistStreamInit*)Unsafe.AsPointer(ref this), pStm); 161 private static winmdroot.Foundation.HRESULT Save(IPersistStreamInit* pThis, winmdroot.System.Com.IStream* pStm, winmdroot.Foundation.BOOL fClearDirty) 191 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IPersistStreamInit*)Unsafe.AsPointer(ref this), pStm, fClearDirty); 207 private static winmdroot.Foundation.HRESULT GetSizeMax(IPersistStreamInit* pThis, ulong* pCbSize) 233 ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,ulong* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IPersistStreamInit*)Unsafe.AsPointer(ref this), pCbSize).ThrowOnFailure(); 239 private static winmdroot.Foundation.HRESULT InitNew(IPersistStreamInit* pThis) 264 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IPersistStreamInit*)Unsafe.AsPointer(ref this)); 290 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 292 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,uint> AddRef_2; 294 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,uint> Release_3; 296 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,global::System.Guid* ,winmdroot.Foundation.HRESULT> GetClassID_4; 298 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.Foundation.HRESULT> IsDirty_5; 300 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.HRESULT> Load_6; 302 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Save_7; 304 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,ulong* ,winmdroot.Foundation.HRESULT> GetSizeMax_8; 306 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.Foundation.HRESULT> InitNew_9;
_generated\483\Windows.Win32.System_Com_IPersistStreamInit_Extensions.g.cs (4)
23 /// <inheritdoc cref="winmdroot.System.Com.IPersistStreamInit.Interface.GetClassID(global::System.Guid*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetClassID(this winmdroot.System.Com.IPersistStreamInit.Interface @this, out global::System.Guid pClassID) 33 /// <inheritdoc cref="winmdroot.System.Com.IPersistStreamInit.Interface.GetSizeMax(ulong*)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT GetSizeMax(this winmdroot.System.Com.IPersistStreamInit.Interface @this, out ulong pCbSize)