 |
GetFileTime ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves the date and time that a file was created, last accessed, and last modified. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL GetFileTime(
HANDLE hFile, // handle to file
LPFILETIME lpCreationTime, // creation time
LPFILETIME lpLastAccessTime, // last access time
LPFILETIME lpLastWriteTime // last write time
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE GetFileTime IN kernel32;
INTEGER hFile,;
STRING @ lpCreationTime,;
STRING @ lpLastAccessTime,;
STRING @ lpLastWriteTime
|
 |
 |
 |
| Parameters: |
 |
hFile
[in] Handle to the files for which to get dates and times.
lpCreationTime
[out] Pointer to a FILETIME structure to receive the date and time the file was created.
lpLastAccessTime
[out] Pointer to a FILETIME structure to receive the date and time the file was last accessed.
lpLastWriteTime
[out] Pointer to a FILETIME structure to receive the date and time the file was last written to. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero. |
 |
 |
| Word Index links for the GetFileTime : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-10-25 20:49:01 | | Modified: | 2001-11-26 16:03:48 | Visited in last 7 days: 19 |