CreateDirCallBackStruct

Contains information about a create directory operation

Service:File System Monitoring
Defined In:nwfshook.h

Structure

   typedef struct {  
      LONG   connection ;  
      LONG   volume ;  
      LONG   dirBase ;  
      BYTE  *pathString ;  
      LONG   pathComponentCount ;  
      LONG   nameSpace ;  
      LONG   directoryAccessMask ; 
   } CreateDirCallBackStruct;
   

Fields

connection

Contains the connection 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
directoryAccessMask

Contains a bit mask by which the directory is to be accessed subsequently. This is the same bit mask used by ModifyInheritedRightsMask, as follows:

  • 0 Read (file reads allowed)
  • 1 Write (file writes allowed)
  • 2 Reserved
  • 3 Create (files can be created)
  • 4 Delete (files can be deleted)
  • 5 Access control (trustee rights can be assigned)
  • 6 See files (files can be seen in directory scans)
  • 7 Modify (files can be modified)
  • 8 Supervisor (all rights are granted)