Add WindowsAPI/
Will add new functions as i need them.
This commit is contained in:
parent
efe00f353f
commit
c05c2fdd73
3 changed files with 69 additions and 0 deletions
9
WindowsAPI/psapi.cs
Normal file
9
WindowsAPI/psapi.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue