42 references to IPersistStream
System.Private.Windows.Core (36)
Windows.Win32.IMoniker.g.cs (1)
946
:winmdroot.System.Com.IPersist.Interface,winmdroot.System.Com.
IPersistStream
.Interface {
Windows.Win32.IPersistStream.g.cs (31)
26
:IVTable<
IPersistStream
,
IPersistStream
.Vtbl>,IComIID {
42
return ((delegate *unmanaged [Stdcall]<
IPersistStream
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IPersistStream
*)Unsafe.AsPointer(ref this), riid, ppvObject);
47
return ((delegate *unmanaged [Stdcall]<
IPersistStream
*,uint>)lpVtbl[1])((
IPersistStream
*)Unsafe.AsPointer(ref this));
52
return ((delegate *unmanaged [Stdcall]<
IPersistStream
*,uint>)lpVtbl[2])((
IPersistStream
*)Unsafe.AsPointer(ref this));
68
private static winmdroot.Foundation.HRESULT GetClassID(
IPersistStream
* pThis, global::System.Guid* pClassID)
87
return ((delegate *unmanaged [Stdcall]<
IPersistStream
*,global::System.Guid* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IPersistStream
*)Unsafe.AsPointer(ref this), pClassID);
93
private static winmdroot.Foundation.HRESULT IsDirty(
IPersistStream
* pThis)
118
return ((delegate *unmanaged [Stdcall]<
IPersistStream
*,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IPersistStream
*)Unsafe.AsPointer(ref this));
124
private static winmdroot.Foundation.HRESULT Load(
IPersistStream
* pThis, winmdroot.System.Com.IStream* pStm)
154
return ((delegate *unmanaged [Stdcall]<
IPersistStream
*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IPersistStream
*)Unsafe.AsPointer(ref this), pStm);
160
private static winmdroot.Foundation.HRESULT Save(
IPersistStream
* pThis, winmdroot.System.Com.IStream* pStm, winmdroot.Foundation.BOOL fClearDirty)
191
return ((delegate *unmanaged [Stdcall]<
IPersistStream
*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((
IPersistStream
*)Unsafe.AsPointer(ref this), pStm, fClearDirty);
207
private static winmdroot.Foundation.HRESULT GetSizeMax(
IPersistStream
* pThis, ulong* pcbSize)
233
return ((delegate *unmanaged [Stdcall]<
IPersistStream
*,ulong* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((
IPersistStream
*)Unsafe.AsPointer(ref this), pcbSize);
257
internal delegate *unmanaged [Stdcall]<
IPersistStream
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
259
internal delegate *unmanaged [Stdcall]<
IPersistStream
*,uint> AddRef_2;
261
internal delegate *unmanaged [Stdcall]<
IPersistStream
*,uint> Release_3;
263
internal delegate *unmanaged [Stdcall]<
IPersistStream
*,global::System.Guid* ,winmdroot.Foundation.HRESULT> GetClassID_4;
265
internal delegate *unmanaged [Stdcall]<
IPersistStream
*,winmdroot.Foundation.HRESULT> IsDirty_5;
267
internal delegate *unmanaged [Stdcall]<
IPersistStream
*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.HRESULT> Load_6;
269
internal delegate *unmanaged [Stdcall]<
IPersistStream
*,winmdroot.System.Com.IStream* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Save_7;
271
internal delegate *unmanaged [Stdcall]<
IPersistStream
*,ulong* ,winmdroot.Foundation.HRESULT> GetSizeMax_8;
Windows.Win32.System_Com_IPersistStream_Extensions.g.cs (4)
23
/// <inheritdoc cref="winmdroot.System.Com.
IPersistStream
.Interface.GetClassID(global::System.Guid*)"/>
24
internal static unsafe winmdroot.Foundation.HRESULT GetClassID(this winmdroot.System.Com.
IPersistStream
.Interface @this, out global::System.Guid pClassID)
33
/// <inheritdoc cref="winmdroot.System.Com.
IPersistStream
.Interface.GetSizeMax(ulong*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT GetSizeMax(this winmdroot.System.Com.
IPersistStream
.Interface @this, out ulong pcbSize)
System.Windows.Forms (6)
System\Windows\Forms\ActiveX\AxHost.cs (4)
1884
using var persistStream = ComHelpers.GetComScope<
IPersistStream
>(_instance);
2034
using (var persistStream = ComHelpers.GetComScope<
IPersistStream
>(_instance))
2753
if (ComHelpers.SupportsInterface<
IPersistStream
>(_instance))
2788
using var persistStream = ComHelpers.GetComScope<
IPersistStream
>(_instance);
System\Windows\Forms\Input\Cursor.cs (2)
408
using ComScope<
IPersistStream
> persist = new(null);
409
picture.Value->QueryInterface(IID.Get<
IPersistStream
>(), persist).ThrowOnFailure();