Files
Nitrox/NitroxModel/Platforms/OS/Windows/Internal/ModuleEntry32.cs
2025-07-06 00:23:46 +02:00

25 lines
676 B
C#

using System;
using System.Runtime.InteropServices;
namespace NitroxModel.Platforms.OS.Windows.Internal
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public struct ModuleEntry32
{
public int dwSize;
public uint th32ModuleID;
public uint th32ProcessID;
public uint GlblcntUsage;
public uint ProccntUsage;
public IntPtr modBaseAddr;
public uint modBaseSize;
public IntPtr hModule;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)]
public string szModule;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)]
public string szExePath;
}
}