NW_EXT_FILE_INFO

Returns extended file information

Service:File System
Defined In:nwdentry.h

Structure

   typedef struct { 
      nuint32   sequence ; 
      nuint32   parent ; 
      nuint32   attributes ; 
      nuint8    uniqueID ; 
      nuint8    flags ; 
      nuint8    nameSpace ; 
      nuint8    nameLength ; 
      nuint8    name [12]; 
      nuint32   creationDateAndTime ; 
      nuint32   ownerID ; 
      nuint32   lastArchiveDateAndTime ; 
      nuint32   lastArchiverID ; 
      nuint32   updateDateAndTime ; 
      nuint32   lastUpdatorID ; 
      nuint32   dataForkSize ; 
      nuint32   dataForkFirstFAT ; 
      nuint32   nextTrusteeEntry ; 
      nuint8    reserved [36]; 
      nuint16   inheritedRightsMask ; 
      nuint16   lastAccessDate ; 
      nuint32   deletedFileTime ; 
      nuint32   deletedDateAndTime ; 
      nuint32   deletorID ; 
      nuint8    reserved2 [16]; 
      nuint32   otherForkSize [2]; 
   } NW_EXT_FILE_INFO;
   

Delphi Structure

   uses calwin32   
    
   NW_EXT_FILE_INFO = packed Record 
      sequence : nuint32; 
      parent : nuint32; 
      attributes : nuint32; 
      uniqueID : nuint8; 
      flags : nuint8; 
      nameSpace : nuint8; 
      nameLength : nuint8; 
      name : Array[0..11] Of nuint8; 
      creationDateAndTime : nuint32; 
      ownerID : nuint32; 
      lastArchiveDateAndTime : nuint32; 
      lastArchiverID : nuint32; 
      updateDateAndTime : nuint32; 
      lastUpdatorID : nuint32; 
      dataForkSize : nuint32; 
      dataForkFirstFAT : nuint32; 
      nextTrusteeEntry : nuint32; 
      reserved : Array[0..35] Of nuint8; 
      inheritedRightsMask : nuint16; 
      lastAccessDate : nuint16; 
      deletedFileTime : nuint32; 
      deletedDateAndTime : nuint32; 
      deletorID : nuint32; 
      reserved2 : Array[0..15] Of nuint8; 
      otherForkSize : Array[0..1] Of nuint32 
   End;
   

Fields

sequence

Specifies the sequence for iteratively scanning entries (-1 initially).

parent

Specifies the directory entry ID of parent directory.

attributes

Specifies the attributes of the entry.

uniqueID

Specifies the unique entry ID.

flags

Is reserved for future use.

nameSpace

Specifies the name space creating the entry.

nameLength

Specifies the maximum number of characters in the name.

name

Specifies the entry name.

creationDateAndTime

Specifies when the entry was created.

ownerID

Specifies the object ID of the owner.

lastArchiveDateAndTime

Specifies when the entry was last archived.

lastArchiverID

Specifies the ID of the object last archiving the entry.

updateDateAndTime

Specifies the date and time when the entry was last modified.

lastUpdatorID

Specifies the ID of the object that last modified the entry.

dataForkSize

Specifies the number of bytes in the file.

dataForkFirstFAT

Specifies the first file allocation table (FAT) entry for the indicated file.

nextTrusteeEntry

Specifies the next trustee of the entry.

reserved

Is reserved for future use.

inheritedRightsMask

Specifies the Inherited Rights Mask for the entry.

lastAccessDate

Specifies the date when the entry was last accessed.

deletedFileTime

Specifies the time when the file was deleted.

deletedDateAndTime

Specifies the date and time when the entry was deleted.

deletorID

Specifies the ID of the object deleting the entry.

reserved2

Is reserved for future use.

otherForkSize

Specifies a two-part array, which specifies the file size for the data stream supported by the given name space and the first FAT entry for the name space-specific data stream respectively.

Remarks

See Section 20.2, Attribute Values for the possible values for the attributes field.

The nameSpace field can have the following values:

The inheritedRightsMask field can have the following values:

C Value

Delphi Value

Value Description

0x0000

$0000

TR_NONE

0x0001

$0001

TR_READ

0x0002

$0002

TR_WRITE

0x0004

$0004

TR_OPEN

0x0004

$0004

TR_DIRECTORY

0x0008

$0008

TR_CREATE

0x0010

$0010

TR_DELETE

0x0010

$0010

TR_ERASE

0x0010

$0020

TR_OWNERSHIP

0x0020

$0020

TR_ACCESS_CTRL

0x0040

$0040

TR_FILE_SCAN

0x0040

$0040

TR_SEARCH

0x0040

$0040

TR_FILE_ACCESS

0x0080

$0080

TR_MODIFY

0x01FB

$01FB

TR_ALL

0x0100

$0100

TR_SUPERVISOR

0x00FB

$00FB

TR_NORMAL