<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.3.25173.2" />

PICTDESC

struct PICTDESC
Contains parameters to create a picture object through the OleCreatePictureIndirect function.
using System.CodeDom.Compiler; using System.Runtime.InteropServices; using Windows.Win32.Graphics.Gdi; using Windows.Win32.UI.WindowsAndMessaging; namespace Windows.Win32.System.Ole { [GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")] internal struct PICTDESC { [StructLayout(LayoutKind.Explicit)] [GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")] internal struct _Anonymous_e__Union { [GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")] internal struct _bmp_e__Struct { internal HBITMAP hbitmap; internal HPALETTE hpal; } [GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")] internal struct _wmf_e__Struct { internal HMETAFILE hmeta; internal int xExt; internal int yExt; } [GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")] internal struct _icon_e__Struct { internal HICON hicon; } [GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")] internal struct _emf_e__Struct { internal HENHMETAFILE hemf; } [FieldOffset(0)] internal _bmp_e__Struct bmp; [FieldOffset(0)] internal _wmf_e__Struct wmf; [FieldOffset(0)] internal _icon_e__Struct icon; [FieldOffset(0)] internal _emf_e__Struct emf; } internal uint cbSizeofstruct; private uint _picType; internal _Anonymous_e__Union Anonymous; internal PICTYPE picType { get { return (PICTYPE)_picType; } set { _picType = (uint)value; } } } }