fst_info_t

Contains name space information about a directory entry.

Service:File System Monitoring
Defined In:fshooks.h

Structure

  typedef struct
  {
     int            volNum;
     int            DosBase;
     int            dirBase;
     int            namespace;
     int            datastream;
     unsigned long  flags;
  } fst_info_t;
  

Fields

volNum

Contains the number of the volume on which the directory entry is located.

DosBase

Contains the DOS directroy entry number of the entry.

dirBase

Contains the directory entry number which corresponds with the name space.

namespace

Contains the name space which corresponds with the directory entry number. The various name spaces use the following values:

  • 0 — DOS name space
  • 1 — Macintosh name space
  • 2 — NFS name space
  • 3 — FTAM name space
  • 4 — Windows 32-bit name space (also called long)
datastream

Contains the data stream handle associated with the entry.

flags

Contains the status of the handle. The following info is copied from CLib and the nwfileng.h file.

Value

Constant

0x00000001

NotReadableBit

0x00000002

NotWritableBit

0x00000004

WrittenBit

0x00000008

DetachedBit

0x00000010

SwitchingToDirectFileSystemModeBit

0x00000020

DirectFileSystemModeBit

0x00000040

FileWriteThroughBit

0x00000080

HasFileWritePrivilegeBit

0x00010000

DiskBlockReturnedBit

0x00020000

IAmOnTheOpenFileListBit

0x00040000

FileReadAuditBit

0x00080000

FileWriteAuditBit

0x00100000

FileCloseAuditBit

0x00200000

DontFileWriteSystemAlertBit

0x00400000

ReadAheadHintBit

0x00800000

NotifyCompressionOnCloseBit

0x01000000

IsWritingCompressedBit

0x02000000

HasTimeDateBit

0x04000000

DoingDeCompressionBit

0x08000000

NoSubAllocBit

0x10000000

IsATransactionFileBit

0x20000000

HasFileWritePrivilegeBit

0x40000000

TTSReadAuditBit

0x80000000

TTSWriteAuditBit