mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Fixes for CharSet marshaling, this caused problems with the IE Capturing.
This commit is contained in:
parent
d1c7ee5e87
commit
aad04bc9d7
7 changed files with 16 additions and 16 deletions
|
@ -30,7 +30,7 @@ namespace GreenshotPlugin.UnmanagedHelpers {
|
|||
/// </summary>
|
||||
public class PsAPI {
|
||||
private static readonly ILog LOG = LogManager.GetLogger(typeof(PsAPI));
|
||||
[DllImport("psapi", SetLastError = true, CharSet=CharSet.Unicode)]
|
||||
[DllImport("psapi", SetLastError = true, CharSet = CharSet.Unicode)]
|
||||
public static extern uint GetModuleFileNameEx(IntPtr hProcess, IntPtr hModule, StringBuilder lpFilename, uint nSize);
|
||||
[DllImport("psapi", SetLastError = true, CharSet = CharSet.Unicode)]
|
||||
public static extern uint GetProcessImageFileName(IntPtr hProcess, StringBuilder lpImageFileName, uint nSize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue