// wdm.h
typedef struct _CLS_CONTAINER_INFORMATION {
ULONG FileAttributes;
ULONGLONG CreationTime;
ULONGLONG LastAccessTime;
ULONGLONG LastWriteTime;
LONGLONG ContainerSize;
ULONG FileNameActualLength;
ULONG FileNameLength;
WCHAR FileName[CLFS_MAX_CONTAINER_INFO];
CLFS_CONTAINER_STATE State;
CLFS_CONTAINER_ID PhysicalContainerId;
CLFS_CONTAINER_ID LogicalContainerId;
} CLS_CONTAINER_INFORMATION, *PCLS_CONTAINER_INFORMATION, PPCLS_CONTAINER_INFORMATION;
View the official Windows Driver Kit DDI referenceNo description available.
The CLFS_CONTAINER_INFORMATION structure holds descriptive information for an individual container in a Common Log File System (CLFS) log.
FileAttributesA set of flags that specifies attributes of the container. See the fFlagsAndAttributes parameter of the ClfsCreateLogFile function.
CreationTimeThe time that the container was created.
LastAccessTimeThe time that the container was last accessed.
LastWriteTimeThe time of the last write to the container.
ContainerSizeThe size, in bytes, of the container.
FileNameActualLengthThe size, in characters, of the actual file name of the container.
FileNameLengthThe size of the file name in the FileName buffer.
FileNameAn array of wide characters that holds the file name of the container.
StateAn integer that specifies the state of the container. This member must be one of the following values.
| Value | Meaning |
|---|---|
| ClfsContainerInitializing | The container has not yet been initialized. |
| ClfsContainerInactive | The container has been initialized but does not hold any records that are in the active portion of the log. |
| ClfsContainerActive | The container is being used to hold records that belong to the active portion of the log. |
| ClfsContainerActivePendingDelete | The container is marked for deletion, but still holds records that belong to the active portion of the log. |
| ClfsContainerPendingArchive | The container is pending archival. |
| ClfsContainerPendingArchiveAndDelete | The container is marked for deletion, but still contains records that are pending archival. |
PhysicalContainerIdA 32-bit identifier that remains the same over the life of the log.
LogicalContainerIdA 32-bit identifier that changes every time the container is recycled.
The ClfsScanLogContainers function writes descriptive information into an array of CLFS_CONTAINER_INFORMATION structures.
Time values CreationTime, LastAccessTime, and LastWriteTime are expressed in absolute system time format. Absolute system time is the number of 100-nanosecond intervals since the start of the year 1601 in the Gregorian calendar.