RenameMoveEntryCallBackStruct

Contains information about a rename or move operation.

Service:File System Monitoring
Defined In:fshooks.h

Structure

  typedef struct{
     int             slot;
     int             task;
     int             volume;
     int             dirBase;
     char           *pathString;
     int             pathComponentCount;
     int             nameSpace;
     unsigned long   attributeMatchBits;
     int             subDirsOnlyFlag;
     int             newDirBase;
     char           *newPathString;
     int             originalNewCount;
     unsigned long   compatibilityFlag;
     int             allowRenamesToMyselfFlag;
  } RenameMoveEntryCallBackStruct;
  

Fields

slot

Specifies the connection number of the entity requesting the operation.

task

Specifies the task number of the entity requesting the operation.

volume

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

dirBase

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

pathString

Specifies the internal path string of the file or directory.

pathComponentCount

Specifies the number of components in the path.

nameSpace

Specifies the name space of the file or directory:

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

Specifies 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.

subDirsOnlyFlag

Specifies whether this operation is being done on a subdirectory:

  • TRUE Subdirectory
newDirBase

Specifies the new directory base for the entry.

newPathString

Specifies the destination path for the directory or file.

originalNewCount

Specifies the path count for the new path string.

compatibilityFlag

Specifies whether DOS 3.x locking compatability is to be used:

  • TRUE Locking compatibility should be used
allowRenamesToMyselfFlag

Specifies whether this entry could be renamed to itself:

  • TRUE Can be renamed to itself