NWDELETED_INFO

Returns information on a deleted file

Service:Deleted File
Defined In:nwdel.h

Structure

   typedef struct 
   { 
      nuint32   sequence ; 
      nuint32   parent ; 
      nuint32   attributes ; 
      nuint8    uniqueID ; 
      nuint8    flags ; 
      nuint8    nameSpace ; 
      nuint8    nameLength ; 
      nuint8    name [256]; 
      nuint32   creationDateAndTime ; 
      nuint32   ownerID ; 
      nuint32   lastArchiveDateAndTime ; 
      nuint32   lastArchiverID ; 
      nuint32   updateDateAndTime ; 
      nuint32   updatorID ; 
      nuint32   fileSize ; 
      nuint8    reserved [44]; 
      nuint16   inheritedRightsMask ; 
      nuint16   lastAccessDate ; 
      nuint32   deletedTime ; 
      nuint32   deletedDateAndTime ; 
      nuint32   deletorID ; 
      nuint8    reserved3 [16]; 
   } NWDELETED_INFO;
   

Delphi Structure

   uses calwin32 
    
     NWDELETED_INFO = packed Record 
       sequence : nuint32; 
       parent : nuint32; 
       attributes : nuint32; 
       uniqueID : nuint8; 
       flags : nuint8; 
       nameSpace : nuint8; 
       nameLength : nuint8; 
       name : Array[0..255] Of nuint8; 
       creationDateAndTime : nuint32; 
       ownerID : nuint32;  
       lastArchiveDateAndTime : nuint32;  
       lastArchiverID : nuint32;  
       updateDateAndTime : nuint32;  
       updatorID : nuint32;  
       fileSize : nuint32;  
       reserved : Array[0..43] Of nuint8;  
       inheritedRightsMask : nuint16;  
       lastAccessDate : nuint16;  
       deletedTime : nuint32;  
       deletedDateAndTime : nuint32;  
       deletorID : nuint32;  
       reserved3 : Array[0..15] Of nuint8 
     End;
   

Fields

sequence

Specifies the sequence number of the associated information.

parent

Specifies the ID of the owning subdirectory.

attributes

Specifies the attributes of the associated file.

uniqueID

Specifies the entry number of the file.

flags

Specifies the DOS attributes of the deleted file.

nameSpace

Specifies the name space of the associated file:

  • 1 NW_NS_MAC
  • 0 NW_NS_DOS
  • 2 NW_NS_NFS
  • 3 NW_NS_FTAM
  • 4 NW_NS_OS2
  • 4 NW_NS_LONG
nameLength

Specifies the length of the file name.

name

Specifies the file name.

creationDateAndTime

Specifies the date and time the file was created.

ownerID

Specifies the object which created the file.

lastArchiveDateAndTime

Specifies the date and time the file was last archived.

lastArchiverID

Specifies the object which last archived the file.

updateDateAndTime

Specifies the date and time the file was last updated.

updatorID

Specifies the object which last updated the file.

fileSize

Specifies the size of the file in bytes.

reserved

Is reserved for future use.

inheritedRightsMask

Specifies a bit mask of the following:

  • 0x0000 TR_NONE
  • 0x0001 TR_READ
  • 0x0002 TR_WRITE
  • 0x0004 TR_OPEN
  • 0x0004 TR_DIRECTORY
  • 0x0008 TR_CREATE
  • 0x0010 TR_DELETE
  • 0x0010 TR_ERASE
  • 0x0020 TR_OWNERSHIP
  • 0x0020 TR_ACCESS_CTRL
  • 0x0040 TR_FILE_SCAN
  • 0x0040 TR_SEARCH
  • 0x0040 TR_FILE_ACCESS
  • 0x0080 TR_MODIFY
  • 0x01FB TR_ALL
  • 0x0100 TR_SUPERVISOR
  • 0x00FB TR_NORMAL
lastAccessDate

Specifies the date the file was last accessed.

deletedTime

Specifies the time the file was deleted.

deletedDateAndTime

Specifies the date and time the file was deleted.

deletorID

Specifies the object who deleted the file.

reserved3

Is reserved for future use.