mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
Code quality changes
This commit is contained in:
parent
f07ed83722
commit
610f45d082
189 changed files with 4609 additions and 5203 deletions
|
@ -33,11 +33,11 @@ namespace GreenshotPlugin.Core {
|
|||
/// Maybe move the basic Accessible functions to WindowDetails!?
|
||||
/// </summary>
|
||||
public class Accessible {
|
||||
private static ILog LOG = LogManager.GetLogger(typeof(Accessible));
|
||||
private static readonly ILog Log = LogManager.GetLogger(typeof(Accessible));
|
||||
|
||||
#region Interop
|
||||
private static int AccessibleObjectFromWindow(IntPtr hWnd, OBJID idObject, ref IAccessible acc) {
|
||||
Guid guid = new Guid("{618736e0-3c3d-11cf-810c-00aa00389b71}"); // IAccessible
|
||||
var guid = new Guid("{618736e0-3c3d-11cf-810c-00aa00389b71}"); // IAccessible
|
||||
object obj = null;
|
||||
int num = AccessibleObjectFromWindow(hWnd, (uint)idObject, ref guid, ref obj);
|
||||
acc = (IAccessible)obj;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue