<PackageReference Include="System.Drawing.Common" Version="10.0.4" />

Windows.Win32.System.Ole.IPicture

namespace Windows.Win32.System.Ole { internal struct IPicture : IVTable<IPicture, IPicture.Vtbl>, IVTable, IComIID { public unsafe HRESULT QueryInterface(Guid* riid, void** ppvObject); public uint AddRef(); public uint Release(); public unsafe HRESULT get_Handle(OLE_HANDLE* pHandle); public unsafe HRESULT get_hPal(OLE_HANDLE* phPal); public unsafe HRESULT get_Type(PICTYPE* pType); public unsafe HRESULT get_Width(int* pWidth); public unsafe HRESULT get_Height(int* pHeight); public unsafe HRESULT Render(HDC hDC, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, RECT* pRcWBounds); public HRESULT set_hPal(OLE_HANDLE hPal); public unsafe HRESULT get_CurDC(HDC* phDC); public unsafe HRESULT SelectPicture(HDC hDCIn, HDC* phDCOut, OLE_HANDLE* phBmpOut); public unsafe HRESULT get_KeepOriginalFormat(BOOL* pKeep); public HRESULT put_KeepOriginalFormat(BOOL keep); public HRESULT PictureChanged(); public unsafe HRESULT SaveAsFile(IStream* pStream, BOOL fSaveMemCopy, int* pCbSize); public unsafe HRESULT get_Attributes(uint* pDwAttr); public unsafe static void PopulateVTable(Vtbl* vtable); } }