CIMFS_FILE_METADATA structure (cimfs.h)

Structure that specifies file metadata for the file to be added by CimCreateFile.

Syntax

typedef struct _CIMFS_FILE_METADATA {
  UINT32        Attributes;
  INT64         FileSize;
  LARGE_INTEGER CreationTime;
  LARGE_INTEGER LastWriteTime;
  LARGE_INTEGER ChangeTime;
  LARGE_INTEGER LastAccessTime;
  const void    *SecurityDescriptorBuffer;
  UINT32        SecurityDescriptorSize;
  const void    *ReparseDataBuffer;
  UINT32        ReparseDataSize;
  const void    *EaBuffer;
  UINT32        EaBufferSize;
} CIMFS_FILE_METADATA;

Members

Attributes

File attributes

FileSize

Size of the file. The file can be written up to this size by CimWriteFile.

CreationTime

Creation time

LastWriteTime

Last write time

ChangeTime

Change time

LastAccessTime

Last access time

SecurityDescriptorBuffer

Buffer containing the file security descriptor

SecurityDescriptorSize

Size of the security descriptor buffer in bytes

ReparseDataBuffer

Buffer containing the file reparse data

ReparseDataSize

Size of the ReparseDataBuffer in bytes

EaBuffer

Buffer containing a FILE_FULL_EA_INFORMATION structure for the file extended attributes

EaBufferSize

Size of the EaBuffer in bytes

Requirements

   
Minimum supported client Windows 10, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Header cimfs.h