}; FILETIME DateCreatedFileTime =

Site Navigation. C++/WinRT version of SetFileTime Posted on July 16, 2020July 16, 2020 by SetFileTime is simple and does not deserve a blog post: you have a file handle, you have date/time, you set it. StorageFile File {. }; FILETIME DateCreatedFileTime =. ; winrt::file_handle File { CreateFile(File. Path().c_str(), GENERIC_WRITE, FILE_SHARE_READ, nullptr, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, nullptr) }; […]

Read More