Yes, DWORD
is equivalent to int
.
There is even a Java-side DWORD
, if you'd like to use that instead.
Question
I have this dll library interface:
int MetEx(BYTE *Data_Ora,DWORD Prezzo)
I want to use JNA to call it, so I did this instance mapping:
int MetEx(byte[] Data_Ora, int Prezzo);
But I'm not very sure the DWORD is well converted to int. Can you confirm this?
Solution
Yes, DWORD
is equivalent to int
.
There is even a Java-side DWORD
, if you'd like to use that instead.