开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜