mirror of
https://github.com/atom0s/Steamless.git
synced 2024-12-28 23:37:41 +01:00
API: Add import for MapFileAndCheckSum.
This commit is contained in:
parent
b6d445fda4
commit
51be8ca795
2 changed files with 20 additions and 0 deletions
|
@ -608,5 +608,15 @@ namespace Steamless.API.PE32
|
||||||
public uint SizeOfZeroFill;
|
public uint SizeOfZeroFill;
|
||||||
public uint Characteristics;
|
public uint Characteristics;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// imagehlp!MapFileAndChecksum
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="Filename"></param>
|
||||||
|
/// <param name="HeaderSum"></param>
|
||||||
|
/// <param name="CheckSum"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[DllImport("imagehlp.dll", CharSet = CharSet.Auto)]
|
||||||
|
public static extern int MapFileAndCheckSum(string Filename, out uint HeaderSum, out uint CheckSum);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -604,5 +604,15 @@ namespace Steamless.API.PE64
|
||||||
public uint SizeOfZeroFill;
|
public uint SizeOfZeroFill;
|
||||||
public uint Characteristics;
|
public uint Characteristics;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// imagehlp!MapFileAndChecksum
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="Filename"></param>
|
||||||
|
/// <param name="HeaderSum"></param>
|
||||||
|
/// <param name="CheckSum"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[DllImport("imagehlp.dll", CharSet = CharSet.Auto)]
|
||||||
|
public static extern int MapFileAndCheckSum(string Filename, out uint HeaderSum, out uint CheckSum);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue