CompareFileTime function
Compares two file times.
Syntax
LONG WINAPI CompareFileTime( _In_ const FILETIME *lpFileTime1, _In_ const FILETIME *lpFileTime2 );
Parameters
- lpFileTime1 [in]
-
A pointer to a FILETIME structure that specifies the first file time.
- lpFileTime2 [in]
-
A pointer to a FILETIME structure that specifies the second file time.
Return value
The return value is one of the following values.
| Return value | Description |
|---|---|
|
First file time is earlier than second file time. |
|
First file time is equal to second file time. |
|
First file time is later than second file time. |
Requirements
|
Minimum supported client |
Windows XP [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also