CompareFileTime

CompareFileTime

VB声明

Declare Function CompareFileTime Lib "kernel32" Alias "CompareFileTime" (lpFileTime1 As FILETIME, lpFileTime2 As FILETIME) As Long

说明

根据FILETIME结构的信息,对比两个文件的时间

返回值

Long,如两个时间相等,就返回零;如lpFileTime1小于lpFileTime2,返回-1;如lpFileTime2小于lpFileTime1,返回1

参数表

参数

类型及说明

lpFileTime1

FILETIME,参考FILETIME

lpFileTime2

Top