Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library
kernel32.lib
Header File
winbase.h
Unicode
No
Platform Notes
None

CompareFileTime

The CompareFileTime function compares two 64-bit file times.

LONG CompareFileTime(

CONST FILETIME *lpFileTime1,
// pointer to first file time
CONST FILETIME *lpFileTime2
// pointer to second file time
);

Parameters

lpFileTime1

Points to a FILETIME structure that specifies the first 64-bit file time.

lpFileTime2

Points to a FILETIME structure that specifies the second 64-bit file time.

Return Values

If the function succeeds, the return value is one of the following values:

Value
Meaning
pics/WIN3200090000.gif1
First file time is less than second file time.
0
First file time is equal to second file time.
+1
First file time is greater than second file time.

See Also

GetFileTime
, FILETIME

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database