GenericModifyNSInfoCBStruct

Contains information about a generic modify name space information operation.

Service:File System Monitoring
Defined In:fshooks.h

Structure

  typedef struct
  {
     int             slot;
     int             task;
     size_t          dataLength;
     int             srcNameSpace;
     int             dstNameSpace;
     int             volume;
     int             dirBase;
     unsigned long   modifyMask;
     void           *modifyInfo;
  } GenericModifyNSInfoCBStruct;
  

Fields

slot

Contains the connection number of the entity requesting the operation.

task

Contains the task number of the entity requesting the operation.

dataLength

Contains the size of the data in the modifyInfo field.

srcNameSpace

Contains the name space of the source:

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

Contains the name space of the destination (see above).

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.

modifyMask

Contains a bit mask that defines the items to be modified by this operation. Note that this bit mask differs slightly from the modify mask for the generic modify DOS information structure, in that it does not contain the "Last modified" bit:

  • 0 Name
  • 1 Attributes
  • 2 Creation Date
  • 3 Creation Time
  • 4 Creator ID
  • 5 Archive Date
  • 6 Archive Time
  • 7 Archive ID
  • 8 Modify Date
  • 9 Modify Time
  • 10 Modify ID
  • 11 Last Access
  • 12 Restrict (inheritance rights)
  • 13 Maximum Space Allowed
modifyInfo

Contains the data that is to replace the old data for this entry.