Example #1
0
 /**
  * Returns the class of the window, such as "SWT_Window0" for any SWT application. See AutoIt
  * Window Info Tool
  */
 public String getClassName() {
   char[] buffer = new char[2048];
   User32.INSTANCE.GetClassName(hWnd, buffer, 1024);
   return Native.toString(buffer);
 }