See GetRtFileInfoByHandle, GetRtFileAttributes
Syntax
typedef struct tagFileAttributes {
DWORD dwFileAttributes;
DWORD dwNumberOfLinks;
QWORD qwVolumeId;
QWORD qwFileIdLow;
QWORD qwFileIdHigh;
QWORD qwFileSize;
TIMEVALUE tCreateTime;
TIMEVALUE tAccessTime;
TIMEVALUE tModifyTime;
} FILE_INFO_COMMON;
Fields
dwFileAttributes
- A bitfield representing the file attributes. Bit definitions as follows:
Attribute |
Description |
FILE_ATTR_READONLY |
File is read-only |
FILE_ATTR_HIDDEN |
File is hidden |
FILE_ATTR_SYSTEM |
File is marked as a system file |
FILE_ATTR_DIRECTORY |
File is a directory |
FILE_ATTR_ARCHIVE |
File is marked for archiving |
FILE_ATTR_DEVICE |
File is a device |
FILE_ATTR_NORMAL |
File is a normal file (no other attribute bits are set) |
dwNumberOfLinks
- The number of links to the file
qwVolumeId
- The identifier for the current volume.
qwFileIdLow
- Unique filenumber for the file (low 64 bits)
qwFileIdHigh
- Unique filenumber for the file (high 64 bits)
qwFileSize
- The number of bytes contained in the file.
tCreateTime
- The time that the file was created.
tAccessTime
- The time that the file was last accessed.
tModifyTime
- The time that the file was last modified.
Requirements
Versions |
Defined in |
Include |
Link to |
INtime 6.0 |
intime/rt/include/rtdef.h |
rt.h |
rt.lib |
See Also