Group: Time - Library: kernel32
A procedure for setting file times
How to suspend or hibernate your system
How to set Creation Date/Time for a folder (WinNT)
BOOL LocalFileTimeToFileTime(
CONST FILETIME *lpLocalFileTime, // local file time
LPFILETIME lpFileTime // file time
);
DECLARE INTEGER LocalFileTimeToFileTime IN kernel32;
STRING LOCALFILETIME,;
STRING @ FILETIME
lpLocalFileTime [in] Pointer to a FILETIME structure that specifies the local file time to be converted into a UTC-based file time.
lpFileTime [out] Pointer to a FILETIME structure to receive the converted UTC-based file time. This parameter cannot be the same as the lpLocalFileTime parameter.
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.