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
|
@ -57,7 +57,7 @@ namespace GreenshotPlugin.UnmanagedHelpers {
|
|||
public static extern int ResumeThread(IntPtr hThread);
|
||||
[DllImport("kernel32", SetLastError = true)]
|
||||
public static extern IntPtr OpenProcess(ProcessAccessFlags dwDesiredAccess, bool bInheritHandle, int dwProcessId);
|
||||
[DllImport("kernel32", SetLastError = true, CharSet=CharSet.Unicode)]
|
||||
[DllImport("kernel32", SetLastError = true, CharSet = CharSet.Unicode)]
|
||||
public static extern bool QueryFullProcessImageName(IntPtr hProcess, uint dwFlags, StringBuilder lpExeName, ref uint lpdwSize);
|
||||
[DllImport("kernel32", SetLastError = true, CharSet = CharSet.Unicode)]
|
||||
public static extern uint QueryDosDevice(string lpDeviceName, StringBuilder lpTargetPath, uint uuchMax);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue