mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-13 03:17:43 +01:00
ntdll
This commit is contained in:
parent
d9a698fe19
commit
d663252ed1
2 changed files with 79 additions and 2 deletions
|
|
@ -1,10 +1,33 @@
|
|||
using System;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Dalamud.Injector.OS
|
||||
{
|
||||
internal sealed class Process
|
||||
internal sealed partial class Process : IDisposable
|
||||
{
|
||||
private SafeProcessHandle m_handle;
|
||||
}
|
||||
|
||||
internal sealed partial class Process {
|
||||
internal Process(SafeProcessHandle handle)
|
||||
{
|
||||
m_handle = handle;
|
||||
}
|
||||
|
||||
public static Process Open(uint pid/* and perms? maybe? */)
|
||||
{
|
||||
//
|
||||
throw new NotImplementedException("TODO");
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
m_handle?.Dispose();
|
||||
m_handle = null!;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue