RenameMoveEntryCallBackStruct

Contains information about a rename or move operation

Service:File System Monitoring
Defined In:nwfshook.h

Structure

   typedef struct {  
      LONG   connection ;  
      LONG   task ;  
      LONG   volume ;  
      LONG   dirBase ;  
      BYTE  *pathString ;  
      LONG   pathComponentCount ;  
      LONG   nameSpace ;  
      LONG   attributeMatchBits ;  
      LONG   subDirsOnlyFlag ;  
      LONG   newDirBase ;  
      BYTE  *newPathString ;  
      LONG   originalNewCount ;  
      LONG   compatibilityFlag ;  
      LONG   allowRenamesToMyselfFlag ;  
   } RenameMoveEntryCallBackStruct;
   

Fields

connection

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. The first byte of the file attributes mask is as follows (see File Attributes):

  • 0 Read Only
  • 1 Hidden
  • 2 System
  • 3 Execute Only
  • 4 Subdirectory
  • 5 Archive
  • 6 Undefined
  • 7 Share
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