Which native Windows library deals with files, file sizes, created dates? (for use with JNI)
I need to write a JNI wrapper for windows file system calls. I wan开发者_开发问答t 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
should be able to find what you need here
精彩评论