Rediger

Del via


FileIo_DirEnum class

This class is the event type class for the enumerate directory and directory notification events.

The following syntax is simplified from MOF code.

Syntax

[EventType{72, 77}, EventTypeName{"DirEnum", "DirNotify"}]
class FileIo_DirEnum : FileIo
{
  uint32 IrpPtr;
  uint32 TTID;
  uint32 FileObject;
  uint32 FileKey;
  uint32 Length;
  uint32 InfoClass;
  uint32 FileIndex;
  string FileName;
};

Members

The FileIo_DirEnum class has these types of members:

Properties

The FileIo_DirEnum class has these properties.

FileIndex

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(7)

File index from which to continue directory enumeration.

FileKey

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(4), Pointer

To determine the directory name, match the value of this property to the FileObject property of a FileIo_Name event.

FileName

Data type: string

Access type: Read-only

Qualifiers: WmiDataId(8), StringTermination("NullTerminated"), Format("w")

Pattern specified for directory enumeration.

FileObject

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(3), Pointer

Identifier that can be used for correlating operations to the same opened file object instance between file create and close events.

InfoClass

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(6), Pointer

Requested directory enumeration information class.

IrpPtr

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(1), Pointer

IO request packet. This property identifies the IO activity.

Length

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(5)

Size of the query buffer, in bytes.

TTID

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(2), Pointer

Thread identifier of the thread that is performing the operation.

Remarks

Directory enumeration and directory notification events are recorded when a directory is enumerated or a directory change notification is sent to registered listeners, respectively.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

FileIo