64 references to IPersistStreamInit
ComDisabled.Tests (1)
Control.ActiveXImplTests.cs (1)
22IPersistStreamInit.Interface persistStream = control;
System.Windows.Forms (21)
System\Windows\Forms\ActiveX\AxHost.cs (4)
1889using var persistStreamInit = ComHelpers.GetComScope<IPersistStreamInit>(_instance); 2041using (var persistStreamInit = ComHelpers.GetComScope<IPersistStreamInit>(_instance)) 2745using var persistStreamInit = ComHelpers.TryGetComScope<IPersistStreamInit>(_instance, out HRESULT hr); 2794using (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)
Windows.Win32.IPersistStreamInit.g.cs (35)
26 :IVTable<IPersistStreamInit,IPersistStreamInit.Vtbl>,IComIID { 42 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IPersistStreamInit*)Unsafe.AsPointer(ref this), riid, ppvObject); 47 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,uint>)lpVtbl[1])((IPersistStreamInit*)Unsafe.AsPointer(ref this)); 52 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,uint>)lpVtbl[2])((IPersistStreamInit*)Unsafe.AsPointer(ref this)); 67 private static winmdroot.Foundation.HRESULT GetClassID(IPersistStreamInit* pThis, global::System.Guid* pClassID) 86 ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,global::System.Guid* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IPersistStreamInit*)Unsafe.AsPointer(ref this), pClassID).ThrowOnFailure(); 92 private static winmdroot.Foundation.HRESULT IsDirty(IPersistStreamInit* pThis) 117 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IPersistStreamInit*)Unsafe.AsPointer(ref this)); 123 private static winmdroot.Foundation.HRESULT Load(IPersistStreamInit* pThis, winmdroot.System.Com.IStream* pStm) 152 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IPersistStreamInit*)Unsafe.AsPointer(ref this), pStm); 158 private static winmdroot.Foundation.HRESULT Save(IPersistStreamInit* pThis, winmdroot.System.Com.IStream* pStm, winmdroot.Foundation.BOOL fClearDirty) 188 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IPersistStreamInit*)Unsafe.AsPointer(ref this), pStm, fClearDirty); 203 private static winmdroot.Foundation.HRESULT GetSizeMax(IPersistStreamInit* pThis, ulong* pCbSize) 229 ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,ulong* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IPersistStreamInit*)Unsafe.AsPointer(ref this), pCbSize).ThrowOnFailure(); 235 private static winmdroot.Foundation.HRESULT InitNew(IPersistStreamInit* pThis) 260 return ((delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IPersistStreamInit*)Unsafe.AsPointer(ref this)); 284 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 286 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,uint> AddRef_2; 288 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,uint> Release_3; 290 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,global::System.Guid* ,winmdroot.Foundation.HRESULT> GetClassID_4; 292 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.Foundation.HRESULT> IsDirty_5; 294 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.HRESULT> Load_6; 296 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Save_7; 298 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,ulong* ,winmdroot.Foundation.HRESULT> GetSizeMax_8; 300 internal delegate *unmanaged [Stdcall]<IPersistStreamInit*,winmdroot.Foundation.HRESULT> InitNew_9;
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)
System.Windows.Forms.Tests (3)
System\Windows\Forms\Control.ActiveXImplTests.cs (3)
19IPersistStreamInit.Interface persistStream = control; 43IPersistStreamInit.Interface persistStream = control; 61IPersistStreamInit.Interface persistStream = control;