64 references to IPersistStorage
System.Windows.Forms (23)
System\Windows\Forms\ActiveX\AxHost.cs (4)
1899
using var persistStorage = ComHelpers.GetComScope<
IPersistStorage
>(_instance);
2045
using (var persistStorage = ComHelpers.GetComScope<
IPersistStorage
>(_instance))
2756
using var persistStoragePtr = ComHelpers.TryGetComScope<
IPersistStorage
>(_instance, out hr);
2821
using var persistStorage = ComHelpers.GetComScope<
IPersistStorage
>(_instance);
System\Windows\Forms\ActiveX\AxHost.State.cs (1)
255
internal 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)
25
IPersistStorage
.Interface,
395
HRESULT
IPersistStorage
.Interface.GetClassID(Guid* pClassID)
406
/// <inheritdoc cref="
IPersistStorage
.IsDirty"/>
407
HRESULT
IPersistStorage
.Interface.IsDirty() => ActiveXInstance.IsDirty();
409
/// <inheritdoc cref="
IPersistStorage
.InitNew(IStorage*)"/>
410
HRESULT
IPersistStorage
.Interface.InitNew(IStorage* pStg) => HRESULT.S_OK;
412
/// <inheritdoc cref="
IPersistStorage
.Load(IStorage*)"/>
413
HRESULT
IPersistStorage
.Interface.Load(IStorage* pStg)
423
/// <inheritdoc cref="
IPersistStorage
.Save(IStorage*, BOOL)"/>
424
HRESULT
IPersistStorage
.Interface.Save(IStorage* pStgSave, BOOL fSameAsLoad)
434
/// <inheritdoc cref="
IPersistStorage
.SaveCompleted(IStorage*)"/>
435
HRESULT
IPersistStorage
.Interface.SaveCompleted(IStorage* pStgNew) => HRESULT.S_OK;
437
/// <inheritdoc cref="
IPersistStorage
.HandsOffStorage"/>
438
HRESULT
IPersistStorage
.Interface.HandsOffStorage() => HRESULT.S_OK;
452
/// <inheritdoc cref="
IPersistStorage
.IsDirty"/>
System.Windows.Forms.Primitives (41)
_generated\220\Windows.Win32.IPersistStorage.g.cs (39)
27
:winmdroot.IVTable<
IPersistStorage
,
IPersistStorage
.Vtbl>,IComIID {
44
return ((delegate *unmanaged [Stdcall]<
IPersistStorage
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IPersistStorage
*)Unsafe.AsPointer(ref this), riid, ppvObject);
49
return ((delegate *unmanaged [Stdcall]<
IPersistStorage
*,uint>)lpVtbl[1])((
IPersistStorage
*)Unsafe.AsPointer(ref this));
54
return ((delegate *unmanaged [Stdcall]<
IPersistStorage
*,uint>)lpVtbl[2])((
IPersistStorage
*)Unsafe.AsPointer(ref this));
70
private static winmdroot.Foundation.HRESULT GetClassID(
IPersistStorage
* pThis, global::System.Guid* pClassID)
89
((delegate *unmanaged [Stdcall]<
IPersistStorage
*,global::System.Guid* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IPersistStorage
*)Unsafe.AsPointer(ref this), pClassID).ThrowOnFailure();
95
private static winmdroot.Foundation.HRESULT IsDirty(
IPersistStorage
* pThis)
120
return ((delegate *unmanaged [Stdcall]<
IPersistStorage
*,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IPersistStorage
*)Unsafe.AsPointer(ref this));
126
private static winmdroot.Foundation.HRESULT InitNew(
IPersistStorage
* pThis, winmdroot.System.Com.StructuredStorage.IStorage* pStg)
156
return ((delegate *unmanaged [Stdcall]<
IPersistStorage
*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IPersistStorage
*)Unsafe.AsPointer(ref this), pStg);
162
private static winmdroot.Foundation.HRESULT Load(
IPersistStorage
* pThis, winmdroot.System.Com.StructuredStorage.IStorage* pStg)
192
return ((delegate *unmanaged [Stdcall]<
IPersistStorage
*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((
IPersistStorage
*)Unsafe.AsPointer(ref this), pStg);
198
private static winmdroot.Foundation.HRESULT Save(
IPersistStorage
* pThis, winmdroot.System.Com.StructuredStorage.IStorage* pStgSave, winmdroot.Foundation.BOOL fSameAsLoad)
232
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);
238
private static winmdroot.Foundation.HRESULT SaveCompleted(
IPersistStorage
* pThis, winmdroot.System.Com.StructuredStorage.IStorage* pStgNew)
267
return ((delegate *unmanaged [Stdcall]<
IPersistStorage
*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((
IPersistStorage
*)Unsafe.AsPointer(ref this), pStgNew);
273
private static winmdroot.Foundation.HRESULT HandsOffStorage(
IPersistStorage
* pThis)
298
return ((delegate *unmanaged [Stdcall]<
IPersistStorage
*,winmdroot.Foundation.HRESULT>)lpVtbl[9])((
IPersistStorage
*)Unsafe.AsPointer(ref this));
324
internal delegate *unmanaged [Stdcall]<
IPersistStorage
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
326
internal delegate *unmanaged [Stdcall]<
IPersistStorage
*,uint> AddRef_2;
328
internal delegate *unmanaged [Stdcall]<
IPersistStorage
*,uint> Release_3;
330
internal delegate *unmanaged [Stdcall]<
IPersistStorage
*,global::System.Guid* ,winmdroot.Foundation.HRESULT> GetClassID_4;
332
internal delegate *unmanaged [Stdcall]<
IPersistStorage
*,winmdroot.Foundation.HRESULT> IsDirty_5;
334
internal delegate *unmanaged [Stdcall]<
IPersistStorage
*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.HRESULT> InitNew_6;
336
internal delegate *unmanaged [Stdcall]<
IPersistStorage
*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.HRESULT> Load_7;
338
internal delegate *unmanaged [Stdcall]<
IPersistStorage
*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Save_8;
340
internal delegate *unmanaged [Stdcall]<
IPersistStorage
*,winmdroot.System.Com.StructuredStorage.IStorage* ,winmdroot.Foundation.HRESULT> SaveCompleted_9;
342
internal delegate *unmanaged [Stdcall]<
IPersistStorage
*,winmdroot.Foundation.HRESULT> HandsOffStorage_10;
_generated\486\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)