CodePudding user response:
global type systemtime from structure
The integer wYear
The integer wMonth
The integer wDayOfWeek
The integer wDay
The integer wHour
The integer wMinute
The integer wSecond
The integer wMilliseconds
End type
global type win32_find_dataa from structure
Unsignedlong dwfileattributes
Filetime ftcreationtime
Filetime ftlastaccesstime
Filetime ftlastwritetime
Unsignedlong nfilesizehigh
Unsignedlong nfilesizelow
Unsignedlong dwreserved0
Unsignedlong dwreserved1
Character cfilename [260]
Character calternatefilename [14]
End type
Win32_find_dataa lpFindFileData
Systemtime SST
FileTimeToSystemTime (lpFindFileData ftlastwritetime, SST)
So that is not in the SST seconds (wSecond) and ms (wMilliseconds)
CodePudding user response:
First of all thank you for your replyBut
Win32_find_dataa lpFindFileData
Systemtime SST
FileTimeToSystemTime (lpFindFileData ftlastwritetime, SST)
This is also so I use, but wSecond and wMilliseconds value is 0, I don't know why?