JNA: passing arguments as wParam/lParam (Java)

Posted by rukoche on Stack Overflow See other posts from Stack Overflow or by rukoche
Published on 2010-06-02T19:49:57Z Indexed on 2010/06/02 19:54 UTC
Read the original article Hit count: 279

Filed under:
|
|
|

If I need to pass an integer it's pretty straightforward:

User32.INSTANCE.PostMessage(hwnd, WM_MOUSEMOVE, new W32API.WPARAM(), new W32API.LPARAM(x | y << 16))

but how do I get WPARAM out of W32API.HDC for example?

© Stack Overflow or respective owner

Related posts about java

Related posts about winapi