Group: Time - Library: kernel32
Comparing file times
HOWTO: Use the Win32 API to Access File Dates and Times
BOOL GetFileTime(
HANDLE hFile, // handle to file
LPFILETIME lpCreationTime, // creation time
LPFILETIME lpLastAccessTime, // last access time
LPFILETIME lpLastWriteTime // last write time
); DECLARE GetFileTime IN kernel32;
INTEGER hFile,;
STRING @ lpCreationTime,;
STRING @ lpLastAccessTime,;
STRING @ lpLastWriteTime hFile [in] Handle to the files for which to get dates and times.
lpCreationTime [out] Pointer to a FILETIME structure to receive the date and time the file was created.
lpLastAccessTime [out] Pointer to a FILETIME structure to receive the date and time the file was last accessed.
lpLastWriteTime [out] Pointer to a FILETIME structure to receive the date and time the file was last written to.
If the function succeeds, the return value is nonzero.
Home