概述,VB聲明,說明,返回值,參數類型及說明,內容,類型定義,
概述
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
FILETIME
類型定義
Type FILETIME ' 8 Bytes
dwLowDateTime As Long
dwHighDateTime As Long
End Type