• Post Reply Bookmark Topic Watch Topic
  • New Topic

JNA: passing arguments as wParam/lParam

 
Artyom Novikov
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I need to pass an integer it's pretty straightforward:

but WM_PRINT's wParam is "A handle to the device context to draw in" which will be W32API.HDC and I have no idea how to pass it to PostMessage :(
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!