using System.Runtime.InteropServices; namespace Decal.Adapter; internal class COMHResultException : COMException { internal COMHResultException(HResults hResult) { base.HResult = (int)hResult; } }