NWFILE_INFO

Defines entry information for files

Service:File System
Defined In:nwdentry.h

Structure

   typedef struct { 
      nuint32   updateDateAndTime ; 
      nuint32   updatorID ; 
      nuint32   fileSize ; 
      nuint8    reserved [44]; 
      nuint16   inheritedRightsMask ; 
      nuint16   lastAccessDate ; 
      nuint8    reserved2 [28]; 
   } NWFILE_INFO;
   

Delphi Structure

   uses calwin32 
    
   NWFILE_INFO = packed Record 
      updateDateAndTime : nuint32; 
      updatorID : nuint32; 
      fileSize : nuint32; 
      reserved : Array[0..43] Of nuint8; 
      inheritedRightsMask : nuint16; 
      lastAccessDate : nuint16; 
      reserved2 : Array[0..27] Of nuint8 
   End;
   

Fields

updateDateAndTime

Specifies when the file was last updated.

updatorID

Specifies the ID of the object that last updated the file.

fileSize

Specifies the size of the file.

reserved

Is reserved for future use.

inheritedRightsMask

Specifies the Inherited Rights Mask for the file.

lastAccessDate

Specifies when the file was last accessed

reserved2

Is reserved for future use.

Remarks

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

0x0020

$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