Skip to content

Latest commit

 

History

History
108 lines (68 loc) · 2.29 KB

fileio-v1-name.md

File metadata and controls

108 lines (68 loc) · 2.29 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
FileIo_V1_Name class - This class is the event type class for file I/O events. The following syntax is simplified from MOF code.
a4ee38df-af75-4aec-89ec-5a1c39302c82
FileIo_V1_Name class
reference
05/31/2018
APIRef
kbSyntax
FileIo_V1_Name
FileIo_V1_Name.FileObject
FileIo_V1_Name.FileName
NA

FileIo_V1_Name class

This class is the event type class for file I/O events.

The following syntax is simplified from MOF code.

Syntax

[EventType{0, 32}, EventTypeName{"Name", "FileCreate"}]
class FileIo_V1_Name : FileIo
{
  uint32 FileObject;
  string FileName;
};

Members

The FileIo_V1_Name class has these types of members:

Properties

The FileIo_V1_Name class has these properties.

FileName

Data type: string

Access type: Read-only

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

Full path to the file, not including the drive letter.

FileObject

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(1), Pointer

Match the value of this pointer to the FileObject pointer value in a DiskIo_TypeGroup1 event to determine the type of I/O operation.

Remarks

Windows Server 2003: To retrieve the drive letter for the file name path, use the FileObject property value to map to the corresponding DiskIo_TypeGroup1 event. From the DiskIo_TypeGroup1 event, use the DiskNumber and ByteOffset property values to map to the corresponding SystemConfig_LogDisk event (ByteOffset maps to StartOffset). The DriveLetterString property contains the drive letter.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]

See also

FileIo