Question: 9. Last Access Date of a File Write a procedure named LastAccessDate that fills a SYSTEMTIME structure with the date and time stamp information of
9. Last Access Date of a File Write a procedure named LastAccessDate that fills a SYSTEMTIME structure with the date and time stamp information of a file. Pass the offset of a filename in EDX, and pass the offset of a SYSTEMTIME structure in ESI. If the function fails to find the file, set the Carry flag. When you implement this function, you will need to open the file, get its handle, pass the handle to GetFileTime, pass its output to FileTimeToSystemTime, and close the file. Write a test program that calls your procedure and prints out the date when a particular file was last accessed.
Sample:
ch11_09.asm was last accessed on: 6/16/2005
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
