Xorog.UniversalExtensions/WindowsAPI/psapi.cs
Mira c05c2fdd73
Add WindowsAPI/
Will add new functions as i need them.
2023-04-18 13:00:23 +02:00

9 lines
304 B
C#

using System.Runtime.InteropServices;
namespace Xorog.UniversalExtensions.WindowsAPI;
public class psapi
{
[DllImport("psapi.dll")]
public static extern uint GetModuleFileNameEx(IntPtr hProcess, IntPtr hModule, [Out] StringBuilder lpBaseName, [In][MarshalAs(UnmanagedType.U4)] int nSize);
}