Share via


CompareFileTime (Windows Embedded CE 6.0)

1/6/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 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 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 Nkstub.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Time Functions
GetFileTime
FILETIME

Other Resources

Timer Driver Reference
Timer Driver Reference