222 references to IStream
System.Drawing.Common (1)
System\Drawing\Image.cs (1)
162
private static unsafe GpImage* LoadGdipImageFromStream(
IStream
* stream, bool useEmbeddedColorManagement)
System.Private.Windows.Core (163)
_generated\148\Windows.Win32.IMoniker.g.cs (10)
121
private static winmdroot.Foundation.HRESULT Load(IMoniker* pThis, winmdroot.System.Com.
IStream
* pStm)
138
public unsafe winmdroot.Foundation.HRESULT Load(winmdroot.System.Com.
IStream
* pStm)
140
return ((delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.System.Com.
IStream
* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IMoniker*)Unsafe.AsPointer(ref this), pStm);
146
private static winmdroot.Foundation.HRESULT Save(IMoniker* pThis, winmdroot.System.Com.
IStream
* pStm, winmdroot.Foundation.BOOL fClearDirty)
163
public unsafe winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.
IStream
* pStm, winmdroot.Foundation.BOOL fClearDirty)
165
return ((delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.System.Com.
IStream
* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IMoniker*)Unsafe.AsPointer(ref this), pStm, fClearDirty);
881
internal delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.System.Com.
IStream
* ,winmdroot.Foundation.HRESULT> Load_6;
883
internal delegate *unmanaged [Stdcall]<IMoniker*,winmdroot.System.Com.
IStream
* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Save_7;
967
unsafe new winmdroot.Foundation.HRESULT Load(winmdroot.System.Com.
IStream
* pStm);
970
unsafe new winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.
IStream
* pStm, winmdroot.Foundation.BOOL fClearDirty);
_generated\153\Windows.Win32.IPersistStream.g.cs (10)
127
private static winmdroot.Foundation.HRESULT Load(IPersistStream* pThis, winmdroot.System.Com.
IStream
* pStm)
155
public unsafe winmdroot.Foundation.HRESULT Load(winmdroot.System.Com.
IStream
* pStm)
157
return ((delegate *unmanaged [Stdcall]<IPersistStream*,winmdroot.System.Com.
IStream
* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IPersistStream*)Unsafe.AsPointer(ref this), pStm);
163
private static winmdroot.Foundation.HRESULT Save(IPersistStream* pThis, winmdroot.System.Com.
IStream
* pStm, winmdroot.Foundation.BOOL fClearDirty)
192
public unsafe winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.
IStream
* pStm, winmdroot.Foundation.BOOL fClearDirty)
194
return ((delegate *unmanaged [Stdcall]<IPersistStream*,winmdroot.System.Com.
IStream
* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IPersistStream*)Unsafe.AsPointer(ref this), pStm, fClearDirty);
273
internal delegate *unmanaged [Stdcall]<IPersistStream*,winmdroot.System.Com.
IStream
* ,winmdroot.Foundation.HRESULT> Load_6;
275
internal delegate *unmanaged [Stdcall]<IPersistStream*,winmdroot.System.Com.
IStream
* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Save_7;
314
unsafe winmdroot.Foundation.HRESULT Load(winmdroot.System.Com.
IStream
* pStm);
317
unsafe winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.
IStream
* pStm, winmdroot.Foundation.BOOL fClearDirty);
_generated\154\Windows.Win32.IPicture.g.cs (7)
569
/// <inheritdoc cref="SaveAsFile(winmdroot.System.Com.
IStream
*, winmdroot.Foundation.BOOL, int*)"/>
571
internal unsafe winmdroot.Foundation.HRESULT SaveAsFile(winmdroot.System.Com.
IStream
* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, out int pCbSize)
583
private static winmdroot.Foundation.HRESULT SaveAsFile(IPicture* pThis, winmdroot.System.Com.
IStream
* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, int* pCbSize)
608
public unsafe winmdroot.Foundation.HRESULT SaveAsFile(winmdroot.System.Com.
IStream
* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, int* pCbSize)
610
return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Com.
IStream
* ,winmdroot.Foundation.BOOL ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[15])((IPicture*)Unsafe.AsPointer(ref this), pStream, fSaveMemCopy, pCbSize);
714
internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Com.
IStream
* ,winmdroot.Foundation.BOOL ,int* ,winmdroot.Foundation.HRESULT> SaveAsFile_16;
792
unsafe winmdroot.Foundation.HRESULT SaveAsFile(winmdroot.System.Com.
IStream
* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, int* pCbSize);
_generated\160\Windows.Win32.IStorage.g.cs (14)
57
/// <inheritdoc cref="CreateStream(winmdroot.Foundation.PCWSTR, winmdroot.System.Com.STGM, uint, uint, winmdroot.System.Com.
IStream
**)"/>
59
internal unsafe winmdroot.Foundation.HRESULT CreateStream(string pwcsName, winmdroot.System.Com.STGM grfMode, uint reserved1, uint reserved2, winmdroot.System.Com.
IStream
** ppstm)
71
private static winmdroot.Foundation.HRESULT CreateStream(IStorage* pThis, winmdroot.Foundation.PCWSTR pwcsName, winmdroot.System.Com.STGM grfMode, uint reserved1, uint reserved2, winmdroot.System.Com.
IStream
** ppstm)
105
public unsafe winmdroot.Foundation.HRESULT CreateStream(winmdroot.Foundation.PCWSTR pwcsName, winmdroot.System.Com.STGM grfMode, uint reserved1, uint reserved2, winmdroot.System.Com.
IStream
** ppstm)
107
return ((delegate *unmanaged [Stdcall]<IStorage*,winmdroot.Foundation.PCWSTR ,winmdroot.System.Com.STGM ,uint ,uint ,winmdroot.System.Com.
IStream
** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IStorage*)Unsafe.AsPointer(ref this), pwcsName, grfMode, reserved1, reserved2, ppstm);
110
/// <inheritdoc cref="OpenStream(winmdroot.Foundation.PCWSTR, void*, winmdroot.System.Com.STGM, uint, winmdroot.System.Com.
IStream
**)"/>
111
internal unsafe winmdroot.Foundation.HRESULT OpenStream(string pwcsName, winmdroot.System.Com.STGM grfMode, uint reserved2, winmdroot.System.Com.
IStream
** ppstm)
123
private static winmdroot.Foundation.HRESULT OpenStream(IStorage* pThis, winmdroot.Foundation.PCWSTR pwcsName, [Optional] void* reserved1, winmdroot.System.Com.STGM grfMode, uint reserved2, winmdroot.System.Com.
IStream
** ppstm)
153
public unsafe winmdroot.Foundation.HRESULT OpenStream(winmdroot.Foundation.PCWSTR pwcsName, [Optional] void* reserved1, winmdroot.System.Com.STGM grfMode, uint reserved2, winmdroot.System.Com.
IStream
** ppstm)
155
return ((delegate *unmanaged [Stdcall]<IStorage*,winmdroot.Foundation.PCWSTR ,void* ,winmdroot.System.Com.STGM ,uint ,winmdroot.System.Com.
IStream
** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IStorage*)Unsafe.AsPointer(ref this), pwcsName, reserved1, grfMode, reserved2, ppstm);
815
internal delegate *unmanaged [Stdcall]<IStorage*,winmdroot.Foundation.PCWSTR ,winmdroot.System.Com.STGM ,uint ,uint ,winmdroot.System.Com.
IStream
** ,winmdroot.Foundation.HRESULT> CreateStream_4;
817
internal delegate *unmanaged [Stdcall]<IStorage*,winmdroot.Foundation.PCWSTR ,void* ,winmdroot.System.Com.STGM ,uint ,winmdroot.System.Com.
IStream
** ,winmdroot.Foundation.HRESULT> OpenStream_5;
884
unsafe winmdroot.Foundation.HRESULT CreateStream(winmdroot.Foundation.PCWSTR pwcsName, winmdroot.System.Com.STGM grfMode, uint reserved1, uint reserved2, winmdroot.System.Com.
IStream
** ppstm);
887
unsafe winmdroot.Foundation.HRESULT OpenStream(winmdroot.Foundation.PCWSTR pwcsName, [Optional] void* reserved1, winmdroot.System.Com.STGM grfMode, uint reserved2, winmdroot.System.Com.
IStream
** ppstm);
_generated\161\Windows.Win32.IStream.g.cs (69)
27
:winmdroot.IVTable<
IStream
,
IStream
.Vtbl>,IComIID {
44
return ((delegate *unmanaged [Stdcall]<
IStream
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IStream
*)Unsafe.AsPointer(ref this), riid, ppvObject);
49
return ((delegate *unmanaged [Stdcall]<
IStream
*,uint>)lpVtbl[1])((
IStream
*)Unsafe.AsPointer(ref this));
54
return ((delegate *unmanaged [Stdcall]<
IStream
*,uint>)lpVtbl[2])((
IStream
*)Unsafe.AsPointer(ref this));
83
private static winmdroot.Foundation.HRESULT Read(
IStream
* pThis, void* pv, uint cb, [Optional] uint* pcbRead)
102
return ((delegate *unmanaged [Stdcall]<
IStream
*,void* ,uint ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IStream
*)Unsafe.AsPointer(ref this), pv, cb, pcbRead);
131
private static winmdroot.Foundation.HRESULT Write(
IStream
* pThis, void* pv, uint cb, [Optional] uint* pcbWritten)
150
return ((delegate *unmanaged [Stdcall]<
IStream
*,void* ,uint ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IStream
*)Unsafe.AsPointer(ref this), pv, cb, pcbWritten);
174
private static winmdroot.Foundation.HRESULT Seek(
IStream
* pThis, long dlibMove, global::System.IO.SeekOrigin dwOrigin, [Optional] ulong* plibNewPosition)
207
return ((delegate *unmanaged [Stdcall]<
IStream
*,long ,global::System.IO.SeekOrigin ,ulong* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IStream
*)Unsafe.AsPointer(ref this), dlibMove, dwOrigin, plibNewPosition);
213
private static winmdroot.Foundation.HRESULT SetSize(
IStream
* pThis, ulong libNewSize)
241
return ((delegate *unmanaged [Stdcall]<
IStream
*,ulong ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((
IStream
*)Unsafe.AsPointer(ref this), libNewSize);
244
/// <inheritdoc cref="CopyTo(winmdroot.System.Com.
IStream
*, ulong, ulong*, ulong*)"/>
246
internal unsafe winmdroot.Foundation.HRESULT CopyTo(winmdroot.System.Com.
IStream
* pstm, ulong cb, out ulong pcbRead, out ulong pcbWritten)
258
/// <inheritdoc cref="CopyTo(winmdroot.System.Com.
IStream
*, ulong, ulong*, ulong*)"/>
259
internal unsafe winmdroot.Foundation.HRESULT CopyTo(winmdroot.System.Com.
IStream
* pstm, ulong cb)
268
private static winmdroot.Foundation.HRESULT CopyTo(
IStream
* pThis, winmdroot.System.Com.
IStream
* pstm, ulong cb, [Optional] ulong* pcbRead, [Optional] ulong* pcbWritten)
297
public unsafe winmdroot.Foundation.HRESULT CopyTo(winmdroot.System.Com.
IStream
* pstm, ulong cb, [Optional] ulong* pcbRead, [Optional] ulong* pcbWritten)
299
return ((delegate *unmanaged [Stdcall]<
IStream
*,winmdroot.System.Com.
IStream
* ,ulong ,ulong* ,ulong* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((
IStream
*)Unsafe.AsPointer(ref this), pstm, cb, pcbRead, pcbWritten);
305
private static winmdroot.Foundation.HRESULT Commit(
IStream
* pThis, uint grfCommitFlags)
336
return ((delegate *unmanaged [Stdcall]<
IStream
*,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((
IStream
*)Unsafe.AsPointer(ref this), grfCommitFlags);
342
private static winmdroot.Foundation.HRESULT Revert(
IStream
* pThis)
366
return ((delegate *unmanaged [Stdcall]<
IStream
*,winmdroot.Foundation.HRESULT>)lpVtbl[9])((
IStream
*)Unsafe.AsPointer(ref this));
372
private static winmdroot.Foundation.HRESULT LockRegion(
IStream
* pThis, ulong libOffset, ulong cb, uint dwLockType)
402
return ((delegate *unmanaged [Stdcall]<
IStream
*,ulong ,ulong ,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((
IStream
*)Unsafe.AsPointer(ref this), libOffset, cb, dwLockType);
408
private static winmdroot.Foundation.HRESULT UnlockRegion(
IStream
* pThis, ulong libOffset, ulong cb, uint dwLockType)
438
return ((delegate *unmanaged [Stdcall]<
IStream
*,ulong ,ulong ,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((
IStream
*)Unsafe.AsPointer(ref this), libOffset, cb, dwLockType);
455
private static winmdroot.Foundation.HRESULT Stat(
IStream
* pThis, winmdroot.System.Com.STATSTG* pstatstg, uint grfStatFlag)
490
return ((delegate *unmanaged [Stdcall]<
IStream
*,winmdroot.System.Com.STATSTG* ,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((
IStream
*)Unsafe.AsPointer(ref this), pstatstg, grfStatFlag);
496
private static winmdroot.Foundation.HRESULT Clone(
IStream
* pThis, winmdroot.System.Com.
IStream
** ppstm)
525
public unsafe winmdroot.Foundation.HRESULT Clone(winmdroot.System.Com.
IStream
** ppstm)
527
return ((delegate *unmanaged [Stdcall]<
IStream
*,winmdroot.System.Com.
IStream
** ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((
IStream
*)Unsafe.AsPointer(ref this), ppstm);
553
internal delegate *unmanaged [Stdcall]<
IStream
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
555
internal delegate *unmanaged [Stdcall]<
IStream
*,uint> AddRef_2;
557
internal delegate *unmanaged [Stdcall]<
IStream
*,uint> Release_3;
559
internal delegate *unmanaged [Stdcall]<
IStream
*,void* ,uint ,uint* ,winmdroot.Foundation.HRESULT> Read_4;
561
internal delegate *unmanaged [Stdcall]<
IStream
*,void* ,uint ,uint* ,winmdroot.Foundation.HRESULT> Write_5;
563
internal delegate *unmanaged [Stdcall]<
IStream
*,long ,global::System.IO.SeekOrigin ,ulong* ,winmdroot.Foundation.HRESULT> Seek_6;
565
internal delegate *unmanaged [Stdcall]<
IStream
*,ulong ,winmdroot.Foundation.HRESULT> SetSize_7;
567
internal delegate *unmanaged [Stdcall]<
IStream
*,winmdroot.System.Com.
IStream
* ,ulong ,ulong* ,ulong* ,winmdroot.Foundation.HRESULT> CopyTo_8;
569
internal delegate *unmanaged [Stdcall]<
IStream
*,uint ,winmdroot.Foundation.HRESULT> Commit_9;
571
internal delegate *unmanaged [Stdcall]<
IStream
*,winmdroot.Foundation.HRESULT> Revert_10;
573
internal delegate *unmanaged [Stdcall]<
IStream
*,ulong ,ulong ,uint ,winmdroot.Foundation.HRESULT> LockRegion_11;
575
internal delegate *unmanaged [Stdcall]<
IStream
*,ulong ,ulong ,uint ,winmdroot.Foundation.HRESULT> UnlockRegion_12;
577
internal delegate *unmanaged [Stdcall]<
IStream
*,winmdroot.System.Com.STATSTG* ,uint ,winmdroot.Foundation.HRESULT> Stat_13;
579
internal delegate *unmanaged [Stdcall]<
IStream
*,winmdroot.System.Com.
IStream
** ,winmdroot.Foundation.HRESULT> Clone_14;
628
unsafe winmdroot.Foundation.HRESULT CopyTo(winmdroot.System.Com.
IStream
* pstm, ulong cb, [Optional] ulong* pcbRead, [Optional] ulong* pcbWritten);
646
unsafe winmdroot.Foundation.HRESULT Clone(winmdroot.System.Com.
IStream
** ppstm);
_generated\205\Windows.Win32.PROPVARIANT.g.cs (1)
143
internal unsafe winmdroot.System.Com.
IStream
* pStream;
_generated\226\Windows.Win32.STGMEDIUM.g.cs (1)
57
internal unsafe winmdroot.System.Com.
IStream
* pstm;
_generated\244\Windows.Win32.System_Com_IStream_Extensions.g.cs (22)
23
/// <inheritdoc cref="winmdroot.System.Com.
IStream
.Interface.Read(void*, uint, uint*)"/>
25
internal static unsafe winmdroot.Foundation.HRESULT Read(this winmdroot.System.Com.
IStream
.Interface @this, Span<byte> pv, out uint pcbRead)
37
/// <inheritdoc cref="winmdroot.System.Com.
IStream
.Interface.Read(void*, uint, uint*)"/>
38
internal static unsafe winmdroot.Foundation.HRESULT Read(this winmdroot.System.Com.
IStream
.Interface @this, Span<byte> pv)
47
/// <inheritdoc cref="winmdroot.System.Com.
IStream
.Interface.Write(void*, uint, uint*)"/>
49
internal static unsafe winmdroot.Foundation.HRESULT Write(this winmdroot.System.Com.
IStream
.Interface @this, ReadOnlySpan<byte> pv, out uint pcbWritten)
61
/// <inheritdoc cref="winmdroot.System.Com.
IStream
.Interface.Write(void*, uint, uint*)"/>
62
internal static unsafe winmdroot.Foundation.HRESULT Write(this winmdroot.System.Com.
IStream
.Interface @this, ReadOnlySpan<byte> pv)
71
/// <inheritdoc cref="winmdroot.System.Com.
IStream
.Interface.Seek(long, global::System.IO.SeekOrigin, ulong*)"/>
72
internal static unsafe winmdroot.Foundation.HRESULT Seek(this winmdroot.System.Com.
IStream
.Interface @this, long dlibMove, global::System.IO.SeekOrigin dwOrigin, out ulong plibNewPosition)
81
/// <inheritdoc cref="winmdroot.System.Com.
IStream
.Interface.Seek(long, global::System.IO.SeekOrigin, ulong*)"/>
83
internal static unsafe winmdroot.Foundation.HRESULT Seek(this winmdroot.System.Com.
IStream
.Interface @this, long dlibMove, global::System.IO.SeekOrigin dwOrigin)
89
/// <inheritdoc cref="winmdroot.System.Com.
IStream
.Interface.CopyTo(winmdroot.System.Com.
IStream
*, ulong, ulong*, ulong*)"/>
90
internal static unsafe winmdroot.Foundation.HRESULT CopyTo(this winmdroot.System.Com.
IStream
.Interface @this, winmdroot.System.Com.
IStream
* pstm, ulong cb, out ulong pcbRead, out ulong pcbWritten)
102
/// <inheritdoc cref="winmdroot.System.Com.
IStream
.Interface.CopyTo(winmdroot.System.Com.
IStream
*, ulong, ulong*, ulong*)"/>
103
internal static unsafe winmdroot.Foundation.HRESULT CopyTo(this winmdroot.System.Com.
IStream
.Interface @this, winmdroot.System.Com.
IStream
* pstm, ulong cb)
109
/// <inheritdoc cref="winmdroot.System.Com.
IStream
.Interface.Stat(winmdroot.System.Com.STATSTG*, uint)"/>
110
internal static unsafe winmdroot.Foundation.HRESULT Stat(this winmdroot.System.Com.
IStream
.Interface @this, out winmdroot.System.Com.STATSTG pstatstg, uint grfStatFlag)
_generated\249\Windows.Win32.System_Com_StructuredStorage_IStorage_Extensions.g.cs (4)
23
/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.CreateStream(winmdroot.Foundation.PCWSTR, winmdroot.System.Com.STGM, uint, uint, winmdroot.System.Com.
IStream
**)"/>
24
internal static unsafe winmdroot.Foundation.HRESULT CreateStream(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, string pwcsName, winmdroot.System.Com.STGM grfMode, uint reserved1, uint reserved2, winmdroot.System.Com.
IStream
** ppstm)
33
/// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IStorage.Interface.OpenStream(winmdroot.Foundation.PCWSTR, void*, winmdroot.System.Com.STGM, uint, winmdroot.System.Com.
IStream
**)"/>
35
internal static unsafe winmdroot.Foundation.HRESULT OpenStream(this winmdroot.System.Com.StructuredStorage.IStorage.Interface @this, string pwcsName, winmdroot.System.Com.STGM grfMode, uint reserved2, winmdroot.System.Com.
IStream
** ppstm)
_generated\253\Windows.Win32.System_Ole_IPicture_Extensions.g.cs (2)
116
/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.SaveAsFile(winmdroot.System.Com.
IStream
*, winmdroot.Foundation.BOOL, int*)"/>
117
internal static unsafe winmdroot.Foundation.HRESULT SaveAsFile(this winmdroot.System.Ole.IPicture.Interface @this, winmdroot.System.Com.
IStream
* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, out int pCbSize)
_generated\275\Windows.Win32.VERSIONEDSTREAM.g.cs (1)
27
internal unsafe winmdroot.System.Com.
IStream
* pStream;
System\IO\StreamExtensions.cs (3)
12
/// Get a <see cref="
IStream
"/> wrapper around the given <paramref name="stream"/>. Use the return value
15
internal static ComScope<
IStream
> ToIStream(this Stream stream, bool makeSeekable = false)
18
return ComHelpers.GetComScope<
IStream
>(new ComManagedStream(stream, makeSeekable));
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (2)
493
Com.
IStream
* pStream = (Com.
IStream
*)medium.hGlobal;
Windows\Win32\System\Com\ComManagedStream.cs (17)
8
internal sealed partial class ComManagedStream : IManagedWrapper<
IStream
, ISequentialStream> { }
11
internal sealed unsafe partial class ComManagedStream :
IStream
.Interface
49
HRESULT
IStream
.Interface.Clone(
IStream
** ppstm)
57
*ppstm = ComHelpers.GetComPointer<
IStream
>(
63
HRESULT
IStream
.Interface.Commit(uint grfCommitFlags)
72
HRESULT
IStream
.Interface.CopyTo(
IStream
* pstm, ulong cb, ulong* pcbRead, ulong* pcbWritten)
91
((
IStream
.Interface)this).Read(b, read, &read);
133
HRESULT
IStream
.Interface.Read(void* pv, uint cb, uint* pcbRead)
136
HRESULT
IStream
.Interface.Seek(long dlibMove, SeekOrigin dwOrigin, ulong* plibNewPosition)
188
HRESULT
IStream
.Interface.SetSize(ulong libNewSize)
194
HRESULT
IStream
.Interface.Stat(STATSTG* pstatstg, uint grfStatFlag)
224
HRESULT
IStream
.Interface.LockRegion(ulong libOffset, ulong cb, uint dwLockType) => HRESULT.STG_E_INVALIDFUNCTION;
227
HRESULT
IStream
.Interface.Revert() => HRESULT.S_OK;
230
HRESULT
IStream
.Interface.UnlockRegion(ulong libOffset, ulong cb, uint dwLockType) => HRESULT.STG_E_INVALIDFUNCTION;
250
HRESULT
IStream
.Interface.Write(void* pv, uint cb, uint* pcbWritten)
System.Private.Windows.GdiPlus (24)
_generated\60\Windows.Win32.PInvokeGdiPlus.gdiplus.dll.g.cs (24)
1012
/// <inheritdoc cref="GdipCreateBitmapFromStream(winmdroot.System.Com.
IStream
*, winmdroot.Graphics.GdiPlus.GpBitmap**)"/>
1014
internal static unsafe winmdroot.Graphics.GdiPlus.Status GdipCreateBitmapFromStream(winmdroot.System.Com.
IStream
* stream, ref winmdroot.Graphics.GdiPlus.GpBitmap* bitmap)
1024
internal static extern unsafe winmdroot.Graphics.GdiPlus.Status GdipCreateBitmapFromStream(winmdroot.System.Com.
IStream
* stream, winmdroot.Graphics.GdiPlus.GpBitmap** bitmap);
1026
/// <inheritdoc cref="GdipCreateBitmapFromStreamICM(winmdroot.System.Com.
IStream
*, winmdroot.Graphics.GdiPlus.GpBitmap**)"/>
1028
internal static unsafe winmdroot.Graphics.GdiPlus.Status GdipCreateBitmapFromStreamICM(winmdroot.System.Com.
IStream
* stream, ref winmdroot.Graphics.GdiPlus.GpBitmap* bitmap)
1038
internal static extern unsafe winmdroot.Graphics.GdiPlus.Status GdipCreateBitmapFromStreamICM(winmdroot.System.Com.
IStream
* stream, winmdroot.Graphics.GdiPlus.GpBitmap** bitmap);
1422
/// <inheritdoc cref="GdipCreateMetafileFromStream(winmdroot.System.Com.
IStream
*, winmdroot.Graphics.GdiPlus.GpMetafile**)"/>
1424
internal static unsafe winmdroot.Graphics.GdiPlus.Status GdipCreateMetafileFromStream(winmdroot.System.Com.
IStream
* stream, ref winmdroot.Graphics.GdiPlus.GpMetafile* metafile)
1434
internal static extern unsafe winmdroot.Graphics.GdiPlus.Status GdipCreateMetafileFromStream(winmdroot.System.Com.
IStream
* stream, winmdroot.Graphics.GdiPlus.GpMetafile** metafile);
4467
/// <inheritdoc cref="GdipGetMetafileHeaderFromStream(winmdroot.System.Com.
IStream
*, winmdroot.Graphics.GdiPlus.MetafileHeader*)"/>
4469
internal static unsafe winmdroot.Graphics.GdiPlus.Status GdipGetMetafileHeaderFromStream(winmdroot.System.Com.
IStream
* stream, ref winmdroot.Graphics.GdiPlus.MetafileHeader header)
4479
internal static extern unsafe winmdroot.Graphics.GdiPlus.Status GdipGetMetafileHeaderFromStream(winmdroot.System.Com.
IStream
* stream, winmdroot.Graphics.GdiPlus.MetafileHeader* header);
6241
/// <inheritdoc cref="GdipLoadImageFromStream(winmdroot.System.Com.
IStream
*, winmdroot.Graphics.GdiPlus.GpImage**)"/>
6243
internal static unsafe winmdroot.Graphics.GdiPlus.Status GdipLoadImageFromStream(winmdroot.System.Com.
IStream
* stream, ref winmdroot.Graphics.GdiPlus.GpImage* image)
6253
internal static extern unsafe winmdroot.Graphics.GdiPlus.Status GdipLoadImageFromStream(winmdroot.System.Com.
IStream
* stream, winmdroot.Graphics.GdiPlus.GpImage** image);
6255
/// <inheritdoc cref="GdipLoadImageFromStreamICM(winmdroot.System.Com.
IStream
*, winmdroot.Graphics.GdiPlus.GpImage**)"/>
6257
internal static unsafe winmdroot.Graphics.GdiPlus.Status GdipLoadImageFromStreamICM(winmdroot.System.Com.
IStream
* stream, ref winmdroot.Graphics.GdiPlus.GpImage* image)
6267
internal static extern unsafe winmdroot.Graphics.GdiPlus.Status GdipLoadImageFromStreamICM(winmdroot.System.Com.
IStream
* stream, winmdroot.Graphics.GdiPlus.GpImage** image);
6800
/// <inheritdoc cref="GdipRecordMetafileStream(winmdroot.System.Com.
IStream
*, winmdroot.Graphics.Gdi.HDC, winmdroot.Graphics.GdiPlus.EmfType, winmdroot.Graphics.GdiPlus.RectF*, winmdroot.Graphics.GdiPlus.MetafileFrameUnit, winmdroot.Foundation.PCWSTR, winmdroot.Graphics.GdiPlus.GpMetafile**)"/>
6802
internal static unsafe winmdroot.Graphics.GdiPlus.Status GdipRecordMetafileStream(winmdroot.System.Com.
IStream
* stream, winmdroot.Graphics.Gdi.HDC referenceHdc, winmdroot.Graphics.GdiPlus.EmfType type, in winmdroot.Graphics.GdiPlus.RectF frameRect, winmdroot.Graphics.GdiPlus.MetafileFrameUnit frameUnit, string description, ref winmdroot.Graphics.GdiPlus.GpMetafile* metafile)
6818
internal static extern unsafe winmdroot.Graphics.GdiPlus.Status GdipRecordMetafileStream(winmdroot.System.Com.
IStream
* stream, winmdroot.Graphics.Gdi.HDC referenceHdc, winmdroot.Graphics.GdiPlus.EmfType type, winmdroot.Graphics.GdiPlus.RectF* frameRect, winmdroot.Graphics.GdiPlus.MetafileFrameUnit frameUnit, winmdroot.Foundation.PCWSTR description, winmdroot.Graphics.GdiPlus.GpMetafile** metafile);
7126
/// <inheritdoc cref="GdipSaveImageToStream(winmdroot.Graphics.GdiPlus.GpImage*, winmdroot.System.Com.
IStream
*, global::System.Guid*, winmdroot.Graphics.GdiPlus.EncoderParameters*)"/>
7128
internal static unsafe winmdroot.Graphics.GdiPlus.Status GdipSaveImageToStream(ref winmdroot.Graphics.GdiPlus.GpImage image, winmdroot.System.Com.
IStream
* stream, in global::System.Guid clsidEncoder, winmdroot.Graphics.GdiPlus.EncoderParameters* encoderParams)
7141
internal static extern unsafe winmdroot.Graphics.GdiPlus.Status GdipSaveImageToStream(winmdroot.Graphics.GdiPlus.GpImage* image, winmdroot.System.Com.
IStream
* stream, global::System.Guid* clsidEncoder, winmdroot.Graphics.GdiPlus.EncoderParameters* encoderParams);
System.Windows.Forms (19)
System\Windows\Forms\ActiveX\AxHost.State.cs (1)
201
internal ComScope<
IStream
> GetStream()
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (6)
999
using ComScope<
IStream
> stream = new(null);
1025
/// <inheritdoc cref="IPersistStreamInit.Load(
IStream
*)"/>
1026
internal void Load(
IStream
* stream)
1460
using ComScope<
IStream
> stream = new(null);
1478
/// <inheritdoc cref="IPersistStreamInit.Save(
IStream
*, BOOL)"/>
1479
internal void Save(
IStream
* stream, BOOL fClearDirty)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.PropertyBagStream.cs (2)
25
internal void Read(
IStream
* istream)
80
internal void Write(
IStream
* istream)
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (4)
455
/// <inheritdoc cref="IPersistStreamInit.Load(
IStream
*)"/>
456
HRESULT IPersistStreamInit.Interface.Load(
IStream
* pStm)
467
/// <inheritdoc cref="IPersistStreamInit.Save(
IStream
*, BOOL)"/>
468
HRESULT IPersistStreamInit.Interface.Save(
IStream
* pStm, BOOL fClearDirty)
System\Windows\Forms\ActiveX\DataStreamFromComStream.cs (2)
10
private
IStream
* _comStream;
15
public DataStreamFromComStream(
IStream
* comStream) : base()
System\Windows\Forms\Controls\ImageList\ImageList.NativeImageList.cs (2)
21
public unsafe NativeImageList(
IStream
.Interface pstm)
26
using var stream = ComHelpers.TryGetComScope<
IStream
>(pstm, out HRESULT hr);
System\Windows\Forms\Input\Cursor.cs (2)
399
private unsafe void LoadPicture(
IStream
.Interface stream, string paramName)
411
using var pStream = ComHelpers.GetComScope<
IStream
>(stream);
System.Windows.Forms.Primitives (15)
_generated\221\Windows.Win32.IPersistStreamInit.g.cs (10)
126
private static winmdroot.Foundation.HRESULT Load(IPersistStreamInit* pThis, winmdroot.System.Com.
IStream
* pStm)
153
public unsafe winmdroot.Foundation.HRESULT Load(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)
189
public unsafe winmdroot.Foundation.HRESULT Save(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);
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;
344
unsafe winmdroot.Foundation.HRESULT Load(winmdroot.System.Com.
IStream
* pStm);
347
unsafe winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.
IStream
* pStm, winmdroot.Foundation.BOOL fClearDirty);
_generated\410\Windows.Win32.PInvoke.COMCTL32.dll.g.cs (3)
289
internal static extern unsafe winmdroot.UI.Controls.HIMAGELIST ImageList_Read(winmdroot.System.Com.
IStream
* pstm);
393
internal static extern unsafe winmdroot.Foundation.BOOL ImageList_Write(winmdroot.UI.Controls.HIMAGELIST himl, winmdroot.System.Com.
IStream
* pstm);
420
internal static extern unsafe winmdroot.Foundation.HRESULT ImageList_WriteEx(winmdroot.UI.Controls.HIMAGELIST himl, winmdroot.UI.Controls.IMAGE_LIST_WRITE_STREAM_FLAGS dwFlags, winmdroot.System.Com.
IStream
* pstm);
Windows\Win32\PInvoke.ImageList.cs (2)
120
/// <inheritdoc cref="ImageList_Write(HIMAGELIST,
IStream
*)"/>
129
/// <inheritdoc cref="ImageList_WriteEx(HIMAGELIST, IMAGE_LIST_WRITE_STREAM_FLAGS,
IStream
*)"/>