Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This function compares two 64-bit file times.
Syntax
LONG CompareFileTime( const FILETIME* lpFileTime1, const FILETIME* lpFileTime2 ); |
Parameters
- lpFileTime1
-
[in] Long pointer to a FILETIMEstructure that specifies the first 64-bit file time.
- lpFileTime2
-
[in] Long pointer to a FILETIMEstructure that specifies the second 64-bit file time.
Return Value
A value of –1 indicates that the first file time is less than the second file time. Zero indicates that the first file time is equal to the second file time. A value of +1 indicates that the first file time is greater than the second file time.
Requirements
Header | windows.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |