How To Get Extended File Time Information Using the Win32 API (154821)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q154821 SUMMARY
Windows 2000, Windows NT, Windows Me, Windows 98, and Windows 95 store additional information about a file, including the time and date that the file was written to. This information cannot be accessed with the FileDateTime API function but can be extracted using a combination of calls to the Windows API. This article describes how to accomplish this behavior.
REFERENCES
The Win32 SDK has additional information about the APIs used in the code
above.
| Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
|---|
| Keywords: | kbAPI kbhowto KB154821 |
|---|
|