GenericRenameCBStruct

Contains information about a generic rename operation

Service:File System Monitoring
Defined In:nwfshook.h

Structure

   typedef struct {  
      LONG   connection ;  
      LONG   task ;  
      LONG   nameSpace ;  
      LONG   renameFlag ;  
      LONG   searchAttributes ;  
      LONG   srcVolume ;  
      LONG   srcPathComponentCount ;  
      LONG   srcDirBase ;  
      BYTE  *srcPathString ;  
      LONG   dstVolume ;  
      LONG   dstPathComponentCount ;  
      LONG   dstDirBase ;  
      BYTE  *dstPathString ;  
   } GenericRenameCBStruct;
   

Fields

connection

Contains the connection number of the entity requesting the operation.

task

Contains the task number of the entity requesting the operation.

nameSpace

Contains the name space of the file or directory:

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

Contains values defining rename options:

  • 0x01 Allow renames to same name
  • 0x02 Rename incompatibility mode
  • 0x04 Only change names for the specified name space
searchAttributes

Contains field 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.

srcVolume

Contains the volume number of the entry to be renamed.

srcPathComponentCount

Contains the number of path components for the source path.

srcDirBase

Contains the source directory base.

srcPathString

Contains the path string of the source.

dstVolume

Contains the volume number of the renamed entry.

dstPathComponentCount

Contains the number of path components for the destination path.

dstDirBase

Contains the destination directory base.

dstPathString

Contains the path string of the destination.