GenericRenameCBStruct

Contains information about a generic rename operation.

Service:File System Monitoring
Defined In:fshooks.h

Structure

  {
     int             slot;
     int             task;
     int             nameSpace;
     int             renameFlag;
     unsigned long   searchAttributes;
     int             srcVolume;
     int             srcPathComponentCount;
     int             srcDirBase;
     char           *srcPathString;
     int             dstVolume;
     int             dstPathComponentCount;
     int             dstDirBase;
     char           *dstPathString;
  } GenericRenameCBStruct;
  

Fields

slot

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. For a list of possible values, see Section 30.8.8, Search Attributes for Traditional Volumes

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.