Skip to content

Latest commit

 

History

History
216 lines (140 loc) · 3.62 KB

fileio-direnum.md

File metadata and controls

216 lines (140 loc) · 3.62 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
This class is the event type class for the enumerate directory and directory notification events. The following syntax is simplified from MOF code.
08458385-6066-4523-a053-aceb5e5d6f10
FileIo_DirEnum class
reference
05/31/2018
APIRef
kbSyntax
FileIo_DirEnum
FileIo_DirEnum.IrpPtr
FileIo_DirEnum.TTID
FileIo_DirEnum.FileObject
FileIo_DirEnum.FileKey
FileIo_DirEnum.Length
FileIo_DirEnum.InfoClass
FileIo_DirEnum.FileIndex
FileIo_DirEnum.FileName
NA

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