Share via


CompareFileTime (Compact 2013)

3/28/2014

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

See Also

Reference

Time Functions
GetFileTime
FILETIME

Other Resources

Timer Driver Reference
Timer Driver Reference