!include once #1030303 // JNA Win32 sS jnaWindows_windowTitle(HWND window) { if (window == null) null; char[] windowText = new[512]; User32.INSTANCE.GetWindowText(window, windowText, windowText.length); ret Native.toString(windowText); }