object = GetFileInformationByHandleEx(File, FileInformationClass )
Retrieves extended file information for an open file handle.
Accepts keyword args.
Class | Returned info |
FileBasicInfo | Dict representing a FILE_BASIC_INFO struct |
FileStandardInfo | Dict representing a FILE_STANDARD_INFO struct |
FileNameInfo | String containing the file name, without the drive letter |
FileCompressionInfo | Dict representing a FILE_COMPRESSION_INFO struct |
FileAttributeTagInfo | Dict representing a FILE_ATTRIBUTE_TAG_INFO struct |
FileIdBothDirectoryInfo | Sequence of dicts representing FILE_ID_BOTH_DIR_INFO structs. Call in loop until no more files are returned. |
FileIdBothDirectoryRestartInfo | Sequence of dicts representing FILE_ID_BOTH_DIR_INFO structs. |
FileStreamInfo | Sequence of dicts representing FILE_STREAM_INFO structs |