I have a Java application and I need to call into a Windows DLL using JNA. The function I need to call actually takes a __int64 (internally it splits this into low/high portions of the FILETIME structure). Given a java.util.Date object, how can I convert it to the appropriate value formatted for a FILETIME?
I have a Java application and I need to call into a Windows DLL
Share
JNA provides some static methods on the FILETIME class which is located in the Platform jar.