ModifyDirEntryCallBackStruct

Contains information about a modify directory operation

Service:File System Monitoring
Defined In:nwfshook.h

Structure

   typedef struct {  
      LONG                     connection ;  
      LONG                     task ;  
      LONG                     volume ;  
      LONG                     dirBase ;  
      BYTE                    *pathString ;  
      LONG                     pathComponentCount ;  
      LONG                     nameSpace ;  
      LONG                     attributeMatchBits ;  
      LONG                     targetNameSpace ;  
      struct ModifyStructure  *modifyVector ;  
      LONG                     modifyBits ;  
      LONG                     allowWildCardsFlag ;  
   } ModifyDirEntryCallBackStruct;
   

Fields

connection

Contains the connection number of the entity requesting the operation.

task

Contains the task number of the entity requesting the operation.

volume

Contains the number of the volume that the directory entry is on.

dirBase

Contains the directory base (directory number) of the file or directory.

pathString

Contains the NetWare-internal path string of the file or directory.

pathComponentCount

Contains the number of components in the path.

nameSpace

Contains the name space of the file or directory:

  • 0 DOS
  • 1 MACINTOSH
  • 2 NFS
  • 3 FTAM
  • 4 LONG
  • 5 NT
attributeMatchBits

Contains a bit mask of the file attributes that are affected by this operation. That is, entries that have file attributes matching this bit mask are affected. For more about the file attributes mask, see File Attributes. The bits of the first byte of the file attributes mask is defined as follows:

  • 0 Read Only
  • 1 Hidden
  • 2 System
  • 3 Execute Only
  • 4 Subdirectory
  • 5 Archive
  • 6 Undefined
  • 7 Share
targetNameSpace

Contains the name space of the entry that is to be changed (see the values for nameSpace, above).

modifyVector

Contains the modify vector used in the operation. See the discussion of ModifyStructure.

modifyBits

Contains the modify bits used in the operation:

  • 0x0001L MModifyNameBit
  • 0x0002L MFileAtrributesBit
  • 0x0004L MCreateDateBit
  • 0x0008L MCreateTimeBit
  • 0x0010L MOwnerIDBit
  • 0x0020L MLastArchivedDateBit
  • 0x0040L MLastArchivedTimeBit
  • 0x0080L MLastArchivedIDBit
  • 0x0100L MLastUpdatedDateBit
  • 0x0200L MLastUpdatedTimeBit
  • 0x0400L MLastUpdatedIDBit
  • 0x0800L MLastAccessedDateBit
  • 0x1000L MInheritanceRestrictionMaskBit
  • 0x2000L MMaximumSpaceBit
  • 0x4000L MLastUpdatedInSecondsBit
allowWildcardsFlag

Indicates whether wildcards are allowed in the path name:

  • Nonzero = Wildcards allowed
  • 0 = No wildcards allowed.

See Also

NWSetDirEntryInfo