<PackageReference Include="System.Drawing.Common" Version="11.0.0-preview.2.26159.112" />

Windows.Win32.System.Com.IStream

namespace Windows.Win32.System.Com { internal struct IStream : IVTable<IStream, IStream.Vtbl>, IVTable, IComIID { public unsafe HRESULT QueryInterface(Guid* riid, void** ppvObject); public uint AddRef(); public uint Release(); public unsafe HRESULT Read(void* pv, uint cb, uint* pcbRead = default(uint*)); public unsafe HRESULT Write(void* pv, uint cb, uint* pcbWritten = default(uint*)); public unsafe HRESULT Seek(long dlibMove, SeekOrigin dwOrigin, ulong* plibNewPosition = default(ulong*)); public HRESULT SetSize(ulong libNewSize); public unsafe HRESULT CopyTo(IStream* pstm, ulong cb, ulong* pcbRead = default(ulong*), ulong* pcbWritten = default(ulong*)); public HRESULT Commit(uint grfCommitFlags); public HRESULT Revert(); public HRESULT LockRegion(ulong libOffset, ulong cb, uint dwLockType); public HRESULT UnlockRegion(ulong libOffset, ulong cb, uint dwLockType); public unsafe HRESULT Stat(STATSTG* pstatstg, uint grfStatFlag); public unsafe HRESULT Clone(IStream** ppstm); public unsafe static void PopulateVTable(Vtbl* vtable); } }