mirror of
https://github.com/greenshot/greenshot
synced 2025-07-15 01:23:47 -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
|
@ -362,7 +362,7 @@ namespace Greenshot.Helpers {
|
|||
/// </summary>
|
||||
public class CopyDataChannel : IDisposable {
|
||||
#region Unmanaged Code
|
||||
[DllImport("user32", CharSet=CharSet.Unicode, SetLastError = true)]
|
||||
[DllImport("user32", CharSet = CharSet.Unicode, SetLastError = true)]
|
||||
private extern static IntPtr GetProp(IntPtr hwnd, string lpString);
|
||||
[DllImport("user32", CharSet = CharSet.Unicode, SetLastError = true)]
|
||||
private extern static bool SetProp(IntPtr hwnd, string lpString, IntPtr hData);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue