Group: Time - Library: kernel32
Setting the date and time that a file was created
A procedure for setting file times
How to suspend or hibernate your system
How to set Creation Date/Time for a folder (WinNT)
BOOL SystemTimeToFileTime(
CONST SYSTEMTIME *lpSystemTime, // system time
LPFILETIME lpFileTime // file time
); DECLARE INTEGER SystemTimeToFileTime IN kernel32;
STRING lpSYSTEMTIME,;
STRING @ FILETIME lpSystemTime [in] Pointer to a SYSTEMTIME structure that contains the time to be converted. The wDayOfWeek member of the SYSTEMTIME structure is ignored.
lpFileTime [out] Pointer to a FILETIME structure to receive the converted system time.
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.
Home