Change SafeProcessHandle to IntPtr again, ugh

This commit is contained in:
Mino 2020-04-12 00:51:09 +09:00
parent 4042d138b2
commit 32af098159
13 changed files with 363 additions and 229 deletions

View file

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace Dalamud.Bootstrap
{
public class ProcessException : BootstrapException
{
internal ProcessException() : base() { }
internal ProcessException(string message) : base(message) { }
internal ProcessException(string message, Exception innerException) : base(message, innerException) { }
internal static void ThrowLastOsError()
{
var inner = new Win32Exception();
throw new ProcessException(inner.Message, inner);
}
}
}