Share via


KCompareFileTime (Windows Embedded CE 6.0)

1/6/2010

This function compares two file time values. File time is the date and time at which a specified file was created, last accessed, or last written to.

Syntax

LONG KCompareFileTime(
  LPFILETIME lpft1,
  LPFILETIME lpft2
);

Parameters

  • lpft1
    [out] Pointer to the first file time for comparison.
  • lpft2
    [out] Pointer to the second file time for comparison.

Return Value

  • –1
    The first file time is earlier than second file time.
  • 0
    The file times are equal.
  • 1
    The first file time is later than second file time.

Remarks

This function, a version of CompareFileTime, is available in the OEM adaptaion layer (OAL).

Requirements

Header nkintr.h
Library Nkstub.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Kernel Functions
KFileTimeToSystemTime
KSystemTimeToFileTime

Other Resources

CompareFileTime