count

Is used by zinfo_t and contains information about the number of file handles and directory entries for the file object.

Service:
Defined In:fshooks.h

Syntax

  struct
  {
     int   open;
     int   hardLink;
  } count;
  

Fields

open

Specifies the number of open file handles that currently exist for this file object.

hardLink

Specifies the number of directory entries that point to this file object, including the original parent directory. If no additional hard links have been created for this file object, this field is set to one.

Remarks

This structure is ignored by the FSHOOK_TYPE_MODIFYINFO_REPORT event.