Set the create, modify, access times for a file.
BOOLEAN SetRtFileTime(
RTHANDLE hFile,
TIMEVALUE * lpCreationTime,
TIMEVALUE * lpLastAccessTime,
TIMEVALUE * lpLastWriteTime);
Parameters
hFile
- A handle for a file object
lpCreationTime
- A pointer to a TIMEVALUE structure that contains the new creation time for the file. This parameter can be null if the application does not need to change the information.
lpLastAccessTime
- A pointer to a TIMEVALUE structure that contains the new access time for the file. This parameter can be null if the application does not need to change the information.
lpLastWriteTime
- A pointer to a TIMEVALUE structure that contains the new write time for the file. This parameter can be null if the application does not need to change the information.
Requirements
Versions |
Defined in |
Include |
Link to |
INtime 6.0 |
intime/rt/include/rtbase.h |
rt.h |
rt.lib |
See Also