Compartilhar via


CompareFileTime (Windows CE 5.0)

Send Feedback

This function compares two 64-bit file times.

LONGCompareFileTime( constFILETIME* lpFileTime1, constFILETIME* 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

A return value of –1 indicates that the first file time is less than the second file time.

A return value of zero indicates that the first file time is equal to the second file time.

A return value of +1 indicates that the first file time is greater than the second file time.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Windows.h.
Link Library: Coredll.lib.

See Also

Time Functions | GetFileTime | FILETIME | Timer Driver Reference | Timer Driver Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.