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

Windows.Win32.Foundation.HRESULT

namespace Windows.Win32.Foundation { internal readonly struct HRESULT : IEquatable<HRESULT> { public static readonly HRESULT COR_E_ARGUMENT; public static readonly HRESULT TLBX_E_LIBNOTREGISTERED; public static readonly HRESULT COR_E_MISSINGFIELD; public static readonly HRESULT COR_E_MISSINGMEMBER; public static readonly HRESULT COR_E_MISSINGMETHOD; public static readonly HRESULT COR_E_NOTSUPPORTED; public static readonly HRESULT COR_E_OVERFLOW; public static readonly HRESULT COR_E_INVALIDOLEVARIANTTYPE; public static readonly HRESULT COR_E_SAFEARRAYTYPEMISMATCH; public static readonly HRESULT COR_E_TARGETINVOCATION; public static readonly HRESULT COR_E_OBJECTDISPOSED; public static readonly HRESULT COR_E_SERIALIZATION; public static readonly HRESULT DESTS_E_NO_MATCHING_ASSOC_HANDLER; public static readonly HRESULT VB_E_NOTOBJECT; public FACILITY_CODE Facility { get; } public int Code { get; } public bool IsNtStatus { get; } public NTSTATUS ToNtStatus(); public static HRESULT FromWin32(WIN32_ERROR error); public static implicit operator HRESULT(Exception ex); public void AssertSuccess(); public static implicit operator int(HRESULT value); public static explicit operator HRESULT(int value); public static bool operator ==(HRESULT left, HRESULT right); public static bool operator !=(HRESULT left, HRESULT right); public bool Equals(HRESULT other); public static implicit operator uint(HRESULT value); public static explicit operator HRESULT(uint value); } }