User32.INSTANCE.EnumChildWindows(GetForegroundWindow(), new User32.WNDENUMPROC() { int count = 1; public boolean callback(HWND hWnd, Pointer userData) { byte[] textBuffer = new byte[512]; User32.INSTANCE.GetClassNameA(hWnd, textBuffer, 512); byte[] childBuffer = new byte[512]; User32.INSTANCE.GetWindowTextA(hWnd, childBuffer, 512); return true; } }, null);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)