3 messages in net.java.dev.jna.usersRe: [jna-users] please help! I do not...
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:Re: [jna-users] please help! I do not know to do this example! :(Actions...
From:Scott Palmer (scot@2connected.org)
Date:May 21, 2008 3:20:12 pm
List:net.java.dev.jna.users

The "..." simply means that there was more content there that was not shown to save space. Check the User32.java file from the examples included in the download.

Scott

On 21-May-08, at 6:14 PM, bruno duarte wrote:

hi! i'm from brasil! I see example in the homepage of the JNA 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.