AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

CompareFileTime

The CompareFileTime function compares two 64-bit file times.

VB4-32,5,6
Declare Function CompareFileTime Lib "kernel32" (lpFileTime1 As FILETIME, lpFileTime2 As FILETIME) As Long

VB.NET
System.DateTime.Compare

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
Kernel32

Parameter Information
lpFileTime1
Points to a FILETIME structure that specifies the first 64-bit file time.

lpFileTime2
Points to a FILETIME structure that specifies the second 64-bit file time.

Return Values
If the function succeeds, the return value is one of the following values:
-1
First file time is less than second file time.

0
First file time is equal to second file time.

+1
First file time is greater than second file time.

Examples

Related Functions

No VB.NET Example Found

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/