Results 1 to 1 of 1
- 05-28-2010, 12:10 PM #1
Member
- Join Date
- May 2010
- Location
- Poland-Silesia
- Posts
- 15
- Rep Power
- 0
JNA-How to define a masage to recive callback?
Hi
I have a C code-definition of massage:
BOOL rumSetNotifyMessage(DWORD hwnd, UNIT nMsg, BOOL bWait);
and a CallBack
BOOL WINAPI rumSetNotifyCallback(LPCARD_ROUTINE lpStartAddress, LPVOID lpParameter);
where
typedef DWORD (WINAPI *PCARD_ROUTINE)(LPVOID lpParameter, BOOL bCardPresent);
typedef PCARD_ROUTINE LPCARD_ROUTINE;
Before implementing Callback I need to define massage-what I nedd to write as hwnd parameter?
Is there a way to recive hvnd of my window application or even an applet? Or is there an other solution?
There is a Native.getWindowID(Window window) method but what is the parameter "Window"? Is it the same as I need to define massage?
Thanks
Similar Threads
-
Override Entity Callback Method
By CatchSandeepVaid in forum Enterprise JavaBeans (EJB)Replies: 0Last Post: 12-13-2009, 06:05 AM -
Define this error.
By jaicea in forum New To JavaReplies: 3Last Post: 12-02-2009, 01:07 AM -
Callback when window is done drawing/loading?
By rodrigo in forum SWT / JFaceReplies: 0Last Post: 08-21-2009, 02:01 AM -
Register a callback function in other class
By barts2108 in forum New To JavaReplies: 2Last Post: 11-10-2008, 04:24 PM -
Setting a timeinterval callback ???
By wallys in forum New To JavaReplies: 1Last Post: 08-19-2008, 05:52 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks