I want to reproduce this sample code in JNA : http://msdn.microsoft.com/en-us/library/windows/desktop/bb427356%28v=vs.85%29.aspx
In this code, I have to use the FormatMessage function (in Kernel32). I can have access to this function through JNA, but the second param is a pointer / handle on the return value of the call of LoadLibraryEx.
Here is the question : how can I fill the ??????? :
Pointer p = ???????
String m = Kernel32.INSTANCE.FormatMessage(flag, p, .....)
Thanks for any help.