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

DVTARGETDEVICE

Specifies information about the target device for which data is being composed. DVTARGETDEVICE contains enough information about a Windows target device so a handle to a device context (HDC) can be created using the CreateDC function.
using System; using System.CodeDom.Compiler; namespace Windows.Win32.System.Com { [GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")] internal struct DVTARGETDEVICE { internal uint tdSize; internal ushort tdDriverNameOffset; internal ushort tdDeviceNameOffset; internal ushort tdPortNameOffset; internal ushort tdExtDevmodeOffset; internal VariableLengthInlineArray<byte> tdData; internal unsafe static int SizeOf(int count) { int num = sizeof(DVTARGETDEVICE); if (count > 1) num += checked(count - 1); else if (count < 0) { throw new ArgumentOutOfRangeException(); } return num; } } }