I am trying to reset a file's times to some date during the year 1980, converting system time to file time. The only problem is that I have problems setting up correct values in the variable so the API works. Someone help me please.

'The API:

Declare Function SystemTimeToFileTime Lib "kernel32"_
Alias "SystemTimeToFileTime" (lpSystemTime As SYSTEMTIME, _
lpFileTime As FILETIME) As Long

'The datatypes:

Public Type FILETIME
dwLowDateTime As Long
dwHighDateTime As Long
End Type

Public Type SYSTEMTIME
wYear As Integer
wMonth As Integer
wDayOfWeek As Integer
wDay As Integer
wHour As Integer
wMinute As Integer
wSecond As Integer
wMilliseconds As Integer
End Type

'For more information go to
'http://www.allapi.net/api/SystemTimeToFileTime.php