MODIFY_DOS_INFO

Defines the parameters for modifying an entry’s DOS name space information

Service:Name Space
Defined In:nwnamspc.h

Structure

   typedef struct 
   { 
      nuint32   attributes; 
      nuint16   createDate; 
      nuint16   createTime; 
      nuint32   creatorID; 
      nuint16   modifyDate; 
      nuint16   modifyTime; 
      nuint32   modifierID; 
      nuint16   archiveDate; 
      nuint16   archiveTime; 
      nuint32   archiverID; 
      nuint16   lastAccessDate; 
      nuint16   inheritanceGrantMask; 
      nuint16   inheritanceRevokeMask; 
      nuint32   maximumSpace; 
   } MODIFY_DOS_INFO;
   

Delphi Structure

   uses calwin32 
    
    MODIFY_DOS_INFO = packed Record 
       attributes : nuint32;  
       createDate : nuint16;  
       createTime : nuint16;  
       creatorID : nuint32;  
       modifyDate : nuint16;  
       modifyTime : nuint16;  
       modifierID : nuint32;  
       archiveDate : nuint16;  
       archiveTime : nuint16;  
       archiverID : nuint32;  
       lastAccessDate : nuint16;  
       inheritanceGrantMask : nuint16; 
       inheritanceRevokeMask : nuint16;  
       maximumSpace : nuint32 
    End;
   

Fields

attributes

Specifies the attributes to the value (see Section 20.2, Attribute Values).

createDate

Specifies the creation date.

createTime

Specifies the creation time.

creatorID

Specifies the creator to the specified ID.

modifyDate

Specifies the date the entry was last modified.

modifyTime

Specifies the time the entry was last modified.

modifierID

Specifies the modifier to the specified ID.

archiveDate

Specifies the date the entry was last archived.

archiveTime

Specifies the time the entry was last archived.

archiverID

Specifies the archiver of the specified ID.

lastAccessDate

Specifies the date the entry was last accessed.

inheritanceGrantMask

Specifies the inherited rights mask values (see Section 20.4, Inherited Rights Mask Values).

inheritanceRevokeMask

Specifies the following TA constants:

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.

maximumSpace

Specifies the user disk restrictions (in 4 KB sizes) that may have been enabled by an administrator for the given user (optional).