Purpose |
The WIN32_FIND_DATA structure describes a file found by the FindFirstFile or FindNextFile function. |
From library |
Kernel...DLL |
Required Type definition |
Type specification Include in your program. Copy/Paste if needed. |
type WIN32_FIND_DATA
ftCreationTime As FILETIME
ftLastAccessTime As FILETIME
ftLastWriteTime As FILETIME
nFileSizeHigh As Integer
nFileSizeLow As Integer
dwReserved0 As Integer
dwReserved1 As Integer
cFileName As String * MAX_PATH
cAlternate As String * 14 end type |
Parameters | |
dwFileAttributes
ftCreationTime
ftLastAccessTime
ftLastWriteTime
nFileSizeHigh
nFileSizeLow
dwReserved0
dwReserved1
cFileName
cAlternate
|
Specifies the file attributes of the file found
Specifies a FILETIME structure containing the time the file was created. FindFirstFile and FindNextFile report file times in Coordinated Universal Time (UTC) format.
Specifies a FILETIME structure containing the time that the file was last accessed.
Specifies a FILETIME structure containing the time that the file was last written to
Specifies the high-order DWORD value of the file size, in bytes.
Specifies the low-order DWORD value of the file size, in bytes.
Reserved for future use
Reserved for future use
A null-terminated string that is the name of the file.
A null-terminated string that is an alternative name for the file. This name is in the classic 8.3 (filename.ext) filename format.
|
Values for parameter dwFileAttributes | |
FILE_ATTRIBUTE_ARCHIVE |
The file is an archive file. The file is a directory. The file has no other attributes set. The data of the file is not immediately available. The file is read-only. The file is part of the operating system or is used exclusively by it. The file is being used for temporary storage. |