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
|
@ -84,7 +84,7 @@ namespace GreenshotPlugin.Controls {
|
|||
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
private static extern uint MapVirtualKey(uint uCode, uint uMapType);
|
||||
[DllImport("user32.dll", EntryPoint = "GetKeyNameTextW", SetLastError = true, CharSet = CharSet.Unicode)]
|
||||
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
|
||||
private static extern int GetKeyNameText(uint lParam, [Out] StringBuilder lpString, int nSize);
|
||||
|
||||
// These variables store the current hotkey and modifier(s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue