I'm trying to use JNA with a DLL in Windows, so far I was able to successfully call a function called c_aa_find_devices()
. But all the functions start with c_aa
and I would like to rename it to find_devices()
.
From what I gather the way to do this is with StdCallFunctionMapper
but I can't find the documentation of how to use it in an example (i.e. how to map a DLL function by name or by ordinal to a desired name in the wrapped Java library interface). Any suggestions on where the docs are?