64 references to IPersistStorage
System.Windows.Forms (23)
System\Windows\Forms\ActiveX\AxHost.cs (4)
1902using var persistStorage = ComHelpers.GetComScope<IPersistStorage>(_instance); 2048using (var persistStorage = ComHelpers.GetComScope<IPersistStorage>(_instance)) 2759using var persistStoragePtr = ComHelpers.TryGetComScope<IPersistStorage>(_instance, out hr); 2824using var persistStorage = ComHelpers.GetComScope<IPersistStorage>(_instance);
System\Windows\Forms\ActiveX\AxHost.State.cs (1)
255internal unsafe State? RefreshStorage(IPersistStorage* iPersistStorage)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (3)
968/// <inheritdoc cref="IPersistStorage.IsDirty"/> 996/// <inheritdoc cref="IPersistStorage.Load(IStorage*)"/> 1457/// <inheritdoc cref="IPersistStorage.Save(IStorage*, BOOL)"/>
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (15)
25IPersistStorage.Interface, 395HRESULT IPersistStorage.Interface.GetClassID(Guid* pClassID) 406/// <inheritdoc cref="IPersistStorage.IsDirty"/> 407HRESULT IPersistStorage.Interface.IsDirty() => ActiveXInstance.IsDirty(); 409/// <inheritdoc cref="IPersistStorage.InitNew(IStorage*)"/> 410HRESULT IPersistStorage.Interface.InitNew(IStorage* pStg) => HRESULT.S_OK; 412/// <inheritdoc cref="IPersistStorage.Load(IStorage*)"/> 413HRESULT IPersistStorage.Interface.Load(IStorage* pStg) 423/// <inheritdoc cref="IPersistStorage.Save(IStorage*, BOOL)"/> 424HRESULT IPersistStorage.Interface.Save(IStorage* pStgSave, BOOL fSameAsLoad) 434/// <inheritdoc cref="IPersistStorage.SaveCompleted(IStorage*)"/> 435HRESULT IPersistStorage.Interface.SaveCompleted(IStorage* pStgNew) => HRESULT.S_OK; 437/// <inheritdoc cref="IPersistStorage.HandsOffStorage"/> 438HRESULT IPersistStorage.Interface.HandsOffStorage() => HRESULT.S_OK; 452/// <inheritdoc cref="IPersistStorage.IsDirty"/>
System.Windows.Forms.Primitives (41)
Windows.Win32.IPersistStorage.g.cs (39)
26 :IVTable<IPersistStorage,IPersistStorage.Vtbl>,IComIID { 42 return ((delegate *unmanaged [Stdcall]<IPersistStorage*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IPersistStorage*)Unsafe.AsPointer(ref this), riid, ppvObject); 47 return ((delegate *unmanaged [Stdcall]<IPersistStorage*,uint>)lpVtbl[1])((IPersistStorage*)Unsafe.AsPointer(ref this)); 52 return ((delegate *unmanaged [Stdcall]<IPersistStorage*,uint>)lpVtbl[2])((IPersistStorage*)Unsafe.AsPointer(ref this)); 67 private static winmdroot.Foundation.HRESULT GetClassID(IPersistStorage* pThis, global::System.Guid* pClassID) 86 ((delegate *unmanaged [Stdcall]<IPersistStorage*,global::System.Guid* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IPersistStorage*)Unsafe.AsPointer(ref this), pClassID).ThrowOnFailure(); 92 private static winmdroot.Foundation.HRESULT IsDirty(IPersistStorage* pThis) 117 return ((delegate *unmanaged [Stdcall]<IPersistStorage*,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IPersistStorage*)Unsafe.AsPointer(ref this)); 123 private static winmdroot.Foundation.HRESULT InitNew(IPersistStorage* pThis, winmdroot.System.Com.StructuredStorage.IStorage* pStg) 153 return ((delegate *unmanaged [Stdcall]<IPersistStorage*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IPersistStorage*)Unsafe.AsPointer(ref this), pStg); 159 private static winmdroot.Foundation.HRESULT Load(IPersistStorage* pThis, winmdroot.System.Com.StructuredStorage.IStorage* pStg) 189 return ((delegate *unmanaged [Stdcall]<IPersistStorage*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IPersistStorage*)Unsafe.AsPointer(ref this), pStg); 195 private static winmdroot.Foundation.HRESULT Save(IPersistStorage* pThis, winmdroot.System.Com.StructuredStorage.IStorage* pStgSave, winmdroot.Foundation.BOOL fSameAsLoad) 229 return ((delegate *unmanaged [Stdcall]<IPersistStorage*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IPersistStorage*)Unsafe.AsPointer(ref this), pStgSave, fSameAsLoad); 235 private static winmdroot.Foundation.HRESULT SaveCompleted(IPersistStorage* pThis, winmdroot.System.Com.StructuredStorage.IStorage* pStgNew) 264 return ((delegate *unmanaged [Stdcall]<IPersistStorage*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IPersistStorage*)Unsafe.AsPointer(ref this), pStgNew); 270 private static winmdroot.Foundation.HRESULT HandsOffStorage(IPersistStorage* pThis) 295 return ((delegate *unmanaged [Stdcall]<IPersistStorage*,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IPersistStorage*)Unsafe.AsPointer(ref this)); 319 internal delegate *unmanaged [Stdcall]<IPersistStorage*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 321 internal delegate *unmanaged [Stdcall]<IPersistStorage*,uint> AddRef_2; 323 internal delegate *unmanaged [Stdcall]<IPersistStorage*,uint> Release_3; 325 internal delegate *unmanaged [Stdcall]<IPersistStorage*,global::System.Guid* ,winmdroot.Foundation.HRESULT> GetClassID_4; 327 internal delegate *unmanaged [Stdcall]<IPersistStorage*,winmdroot.Foundation.HRESULT> IsDirty_5; 329 internal delegate *unmanaged [Stdcall]<IPersistStorage*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.HRESULT> InitNew_6; 331 internal delegate *unmanaged [Stdcall]<IPersistStorage*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.HRESULT> Load_7; 333 internal delegate *unmanaged [Stdcall]<IPersistStorage*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Save_8; 335 internal delegate *unmanaged [Stdcall]<IPersistStorage*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.HRESULT> SaveCompleted_9; 337 internal delegate *unmanaged [Stdcall]<IPersistStorage*,winmdroot.Foundation.HRESULT> HandsOffStorage_10;
Windows.Win32.System_Com_StructuredStorage_IPersistStorage_Extensions.g.cs (2)
23 /// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IPersistStorage.Interface.GetClassID(global::System.Guid*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetClassID(this winmdroot.System.Com.StructuredStorage.IPersistStorage.Interface @this, out global::System.Guid pClassID)