mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
14 lines
525 B
C#
14 lines
525 B
C#
using Microsoft.Win32.SafeHandles;
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Dalamud.Bootstrap.OS.Windows.Raw
|
|
{
|
|
internal static unsafe class Ntdll
|
|
{
|
|
private const string Name = "ntdll";
|
|
|
|
[DllImport(Name, CallingConvention = CallingConvention.Winapi, SetLastError = true)]
|
|
public static extern NTSTATUS NtQueryInformationProcess(IntPtr processHandle, PROCESSINFOCLASS processInfoClass, void* processInformation, int processInformationLength, IntPtr* returnLength);
|
|
}
|
|
}
|