3 messages in net.java.dev.jna.usersplease help! I do not know to do this...
FromSent OnAttachments
bruno duarteMay 21, 2008 3:14 pm 
Scott PalmerMay 21, 2008 3:20 pm 
bruno duarteMay 21, 2008 7:51 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:please help! I do not know to do this example! :(Actions...
From:bruno duarte (brun@gmail.com)
Date:May 21, 2008 3:14:05 pm
List:net.java.dev.jna.users

hi! i'm from brasil! I see example in the homepage of the JNA <https://jna.dev.java.net/> this example is i need for my application. but i do not run. becouse i do not undestend "..." PLEASE, post me this example complete! per God!

public interface User32 extends StdCallLibrary { interface WNDENUMPROC extends StdCallCallback { /** Return whether to continue enumeration. */ boolean callback(Pointer hWnd, Pointer arg); } boolean EnumWindows(WNDENUMPROC lpEnumFunc, Pointer arg); } ... *hi! I do not undestend this "..." ! please!!* User32 user32 = User32.INSTANCE;

user32.EnumWindows(new WNDENUMPROC() { int count; public boolean callback(Pointer hWnd, Pointer userData) { System.out.println("Found window " + hWnd + ", total " + ++count); return true; } }, null);

Bruno Queiroz Duarte.