次の方法で共有


KCompareFileTime (Compact 2013)

3/28/2014

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

See Also

Reference

Kernel Functions
CompareFileTime

Other Resources

NKFileTimeToSystemTime
NKSystemTimeToFileTime