mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Code cleanup, removed a lot of FxCop messages and added some more disposing.
This commit is contained in:
parent
49869a2630
commit
15253ef295
18 changed files with 119 additions and 335 deletions
|
@ -79,7 +79,7 @@ namespace GreenshotPlugin.Controls {
|
|||
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
private static extern uint MapVirtualKey(uint uCode, uint uMapType);
|
||||
[DllImport("user32.dll", EntryPoint = "GetKeyNameTextA", SetLastError = true)]
|
||||
[DllImport("user32.dll", EntryPoint = "GetKeyNameTextW", 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