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