EraseFileCallBackStruct

Contains information about an erase file 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 ;  
   } EraseFileCallBackStruct;
   

Fields

connection

Contains the connection number of the entity requesting the operation.

task

Contains the task number of the entity requesting the operation.

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.

pathString

Contains the NetWare-internal path string of the file or directory.

pathComponentCount

Contains the number of components in the path.

nameSpace

Contains the name space of the file or directory:

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

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

  • 0 Read Only
  • 1 Hidden
  • 2 System
  • 3 Execute Only
  • 4 Subdirectory
  • 5 Archive
  • 6 Undefined
  • 7 Share