Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the identifiers that identify the log file metadata properties of a channel or log file.
Syntax
typedef enum _EVT_LOG_PROPERTY_ID {
EvtLogCreationTime = 0,
EvtLogLastAccessTime,
EvtLogLastWriteTime,
EvtLogFileSize,
EvtLogAttributes,
EvtLogNumberOfLogRecords,
EvtLogOldestRecordNumber,
EvtLogFull
} EVT_LOG_PROPERTY_ID;
Constants
EvtLogCreationTimeValue: 0 Identifies the property that contains the time that the channel or log file was created. The variant type for this property is EvtVarTypeFileTime. |
EvtLogLastAccessTimeIdentifies the property that contains the last time that the channel or log file was accessed. The variant type for this property is EvtVarTypeFileTime. |
EvtLogLastWriteTimeIdentifies the property that contains the last time that the channel or log file was written to. The variant type for this property is EvtVarTypeFileTime. |
EvtLogFileSizeIdentifies the property that contains the size of the file, in bytes. The variant type for this property is EvtVarTypeUInt64. |
EvtLogAttributesIdentifies the property that contains the file attributes (for details on the file attributes, see the GetFileAttributesEx function). The variant type for this property is EvtVarTypeUInt32. |
EvtLogNumberOfLogRecordsIdentifies the property that contains the number of records in the channel or log file. The variant type for this property is EvtVarTypeUInt64. |
EvtLogOldestRecordNumberIdentifies the property that contains the record number of the oldest event in the channel or log file. The variant type for this property is EvtVarTypeUInt64. |
EvtLogFullIdentifies the property that you use to determine whether the channel or log file is full. The variant type for this property is EvtVarTypeBoolean. The channel is full if another event cannot be written to the channel (for example, if the channel is sequential and maximum size is reached). The property will always be false if the channel is circular or the sequential log is automatically backed up. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | winevt.h |