Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Compares two file times.
LONG CompareFileTime(
[in] const FILETIME *lpFileTime1,
[in] const FILETIME *lpFileTime2
);
[in] lpFileTime1
A pointer to a FILETIME structure that specifies the first file time.
[in] lpFileTime2
A pointer to a FILETIME structure that specifies the second file time.
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. |
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2003 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | fileapi.h (include Windows.h) |
Library | Kernel32.lib |
DLL | Kernel32.dll |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today