mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Cleanup for code-analyses 2nd phase
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2483 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
157cace477
commit
5ffe3dfb42
15 changed files with 190 additions and 137 deletions
|
@ -69,7 +69,7 @@ namespace GreenshotPlugin.UnmanagedHelpers {
|
|||
public static extern IntPtr GetWindow(IntPtr hWnd, GetWindowCommand uCmd);
|
||||
[DllImport("user32", SetLastError = true)]
|
||||
public static extern int ShowWindow(IntPtr hWnd, ShowWindowCommand nCmdShow);
|
||||
[DllImport("user32", CharSet = CharSet.Auto, SetLastError = true)]
|
||||
[DllImport("user32", CharSet = CharSet.Unicode, SetLastError = true)]
|
||||
public extern static int GetWindowText(IntPtr hWnd, StringBuilder lpString, int cch);
|
||||
[DllImport("user32", CharSet = CharSet.Auto, SetLastError = true)]
|
||||
public extern static int GetWindowTextLength(IntPtr hWnd);
|
||||
|
@ -97,7 +97,7 @@ namespace GreenshotPlugin.UnmanagedHelpers {
|
|||
[DllImport("user32", SetLastError = true)]
|
||||
[return: MarshalAs(UnmanagedType.Bool)]
|
||||
public extern static bool IsZoomed(IntPtr hwnd);
|
||||
[DllImport("user32", CharSet = CharSet.Auto, SetLastError = true)]
|
||||
[DllImport("user32", CharSet = CharSet.Unicode, SetLastError = true)]
|
||||
public extern static int GetClassName (IntPtr hWnd, StringBuilder lpClassName, int nMaxCount);
|
||||
[DllImport("user32", SetLastError = true)]
|
||||
public static extern IntPtr GetClassLong(IntPtr hWnd, int nIndex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue