CompareFileTime

This function compares two 64-bit file times.

At a Glance

Header file: Winbase.h
Windows CE versions: 1.0 and later

Syntax

LONG CompareFileTime( const FILETIME *lpFileTime1,
const
FILETIME *lpFileTime2 );

Parameters

lpFileTime1

[in] Long pointer to a FILETIME structure that specifies the first 64-bit file time.

lpFileTime2

[in] Long pointer to a FILETIME structure that specifies the second 64-bit file time.

Return Values

–1 indicates that the first file time is less than the second file time. 0 indicates that the first file time is equal to the second file time. +1 indicates that the first file time is greater than the second file time.

See Also

GetFileTime, FILETIME