[DllImport("psapi.dll", SetLastError = true)] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool EnumerateLoadedModules( IntPtr hProcess, ref IntPtr lphModule, uint cb, out uint lpcbNeeded );
Microsoft documentation: Link
Last updated 1 year ago