I need to write a JNI wrapper for windows file system calls. I want to be able to get the size and created date of files on a windows system using the appropriate native library. Can anyone point me in the right direction?
thanks
I need to write a JNI wrapper for windows file system calls. I want to be able to get the size and created date of files on a windows system using the appropriate native library. Can anyone point me in the right direction?
thanks
You can use GetFileAttributesEx to get the creation time from the filename. or GetFileInformationByHandle if you already have the file open.
The library is kernel32.dll