NW_ENTRY_INFO

Holds standard name space information for an entry

Service:Name Space
Defined In:nwnamspc.h

Structure

   typedef struct 
   { 
      nuint32   spaceAlloc; 
      nuint32   attributes; 
      nuint16   flags; 
      nuint32   dataStreamSize;  
      nuint32   totalStreamSize; 
      nuint16   numberOfStreams; 
      nuint16   creationTime; 
      nuint16   creationDate; 
      nuint32   creatorID; 
      nuint16   modifyTime; 
      nuint16   modifyDate; 
      nuint32   modifierID; 
      nuint16   lastAccessDate; 
      nuint16   archiveTime; 
      nuint16   archiveDate; 
      nuint32   archiverID; 
      nuint16   inheritedRightsMask; 
      nuint32   dirEntNum; 
      nuint32   DosDirNum; 
      nuint32   volNumber; 
      nuint32   EADataSize; 
      nuint32   EAKeyCount; 
      nuint32   EAKeySize; 
      nuint32   NSCreator; 
      nuint8    nameLength; 
      nstr8     entryName [256]; 
   } NW_ENTRY_INFO;
   

Delphi Structure

   uses calwin32 
    
     NW_ENTRY_INFO = packed Record 
       spaceAlloc : nuint32;  
       attributes : nuint32;  
       flags : nuint16;  
       dataStreamSize : nuint32;  
       totalStreamSize : nuint32;  
       numberOfStreams : nuint16;  
       creationTime : nuint16;  
       creationDate : nuint16;  
       creatorID : nuint32;  
       modifyTime : nuint16;  
       modifyDate : nuint16;  
       modifierID : nuint32;  
       lastAccessDate : nuint16;  
       archiveTime : nuint16; 
       archiveDate : nuint16;  
       archiverID : nuint32;  
       inheritedRightsMask : nuint16; 
       dirEntNum : nuint32;  
       DosDirNum : nuint32;  
       volNumber : nuint32;  
       EADataSize : nuint32;  
       EAKeyCount : nuint32;  
       EAKeySize : nuint32;  
       NSCreator : nuint32;  
       nameLength : nuint8;  
       entryName : Array[0..255] Of nstr8 
     End;
   

Fields

spaceAlloc

Specifies the space allocated to the data stream. IM_SPACE_ALLOC in returnEntryInfo mask.

attributes

Specifies the entry’s attributes (see Section 20.2, Attribute Values).

flags

Specifies data used internally.

dataStreamSize

Specifies the size of the data stream. IM_SIZE in returnEntryInfo mask.

totalStreamSize

Specifies the total size of streams associated with the entry. IM_TOTAL_SIZE in returnEntryInfo mask.

numberOfStreams

Specifies the number of streams associated with the entry.

creationTime

Specifies when the entry was created. IM_CREATION in returnEntryInfo mask (see Section 20.9, Time Values).

creationDate

Specifies the date the entry was created (see Section 20.3, Date Values).

creatorID

Specifies the object creating the entry.

modifyTime

Specifies the time the entry was last modified. IM_MODIFY in returnEntryInfo mask (see Section 20.9, Time Values).

modifyDate

Specifies the date the entry was last modified (see Section 20.3, Date Values).

modifierID

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

lastAccessDate

Specifies the date the entry was last accessed (see Section 20.3, Date Values).

archiveTime

Specifies the time the entry was last archived (see Section 20.9, Time Values).

archiveDate

Specifies the date the entry was last archived (see Section 20.3, Date Values).

archiverID

Specifies the ID of the object last archiving the entry.

inheritedRightsMask

Specifies the entry’s inherited rights mask. IM_RIGHTS in returnEntryInfo mask. A mask of the following:

C Value

Delphi Value

Value Name

Value Description

0x00

$00

TA_NONE

Specifies no Reads or Writes are allowed.

0x01

$01

TA_READ

Specifies file Reads are allowed.

0x02

$02

TA_WRITE

Specifies file Writes are allowed.

0x08

$08

TA_CREATE

Specifies files can be created.

0x10

$10

TA_DELETE

Specifies files can be deleted.

0x20

$20

TA_OWNERSHIP

Specifies subdirectories can be created or deleted and trustee rights granted or revoked.

0x40

$40

TA_SEARCH

Specifies the directory can be searched.

0x80

$80

TA_MODIFY

Specifies file attributes can be modified.

0xFB

$FB

TA_ALL

Specifies the trustee has all the above rights to the directory.

dirEntNum

Specifies the directory entry number. IM_DIRECTORY in returnEntryInfo mask.

DosDirNum

Specifies the DOS directory entry number.

volNumber

Specifies the number of the volume that contains the entry.

EADataSize

Specifies the data size of the entry’s extended attribute. IM_EA in returnEntryInfo mask.

EAKeyCount

Specifies the key count for the entry’s extended attribute.

EAKeySize

Specifies the size of the entry’s extended attribute key.

NSCreator

Specifies the name space the entry was originally created in. IM_OWNING_NAMESPACE in returnEntryInfo mask (see Section 20.5, Name Space Flag Values).

nameLength

Specifies the length of the entry’s name. IM_NAME in returnEntryInfo mask.

entryName

Specifies the entry’s name.