NW_FILE_INFO2_EXT

Holds file information

Service:File System
Defined In:nwfile.h

Structure

   typedef struct { 
      nuint8    fileAttributes ; 
      nuint8    extendedFileAttributes ; 
      nuint32   fileSize ; 
      nuint16   creationDate ; 
      nuint16   lastAccessDate ; 
      nuint32   lastUpdateDateAndTime ; 
      nuint32   fileOwnerID ; 
      nuint32   lastArchiveDateAndTime ; 
      nstr8     fileName [766]; 
   } NW_FILE_INFO2_EXT;
   

Fields

fileAttributes

Specifies the file attributes (for values, see Remarks).

extendedFileAttributes

Specifies the file extended attributes (for values, see Remarks).

fileSize

Specifies the size of the file.

creationDate

Specifies when the file was created.

lastAccessDate

Specifies when the file was last accessed.

lastUpdateDateAndTime

Specifies when the file was last updated.

fileOwnerID

Specifies the object ID of the owner.

lastArchiveDateAndTime

Specifies when the file was last archived.

fileName

Specifies the name of the file (long names are supported), using UTF-8 characters.

Remarks

The fileAttributes field can have the following values:

C Value

Value Name

0x00

FA_NORMAL

0x01

FA_READ_ONLY

0x02

FA_HIDDEN

0x04

FA_SYSTEM

0x08

FA_EXECUTE_ONLY

0x10

FA_DIRECTORY

0x20

FA_NEEDS_ARCHIVED

0x80

FA_SHAREABLE

The extendedFileAttributes field can have the following values:

C Value

Value Name

0x10

FA_TRANSACTIONAL

0x20

FA_INDEXED

0x40

FA_READ_AUDIT

0x80

FA_WRITE_AUDIT