RECORDER_LOG_CREATE_PARAMS structure (wpprecorder.h)
The RECORDER_LOG_CREATE_PARAMS structure is an input parameter to the WppRecorderLogCreate method.
Syntax
typedef struct _RECORDER_LOG_CREATE_PARAMS {
ULONG Size;
ULONG LogTag;
ULONG TotalBufferSize;
ULONG ErrorPartitionSize;
ULONG_PTR LogIdentifierAppendValue;
BOOLEAN LogIdentifierAppendValueSet;
ULONG LogIdentifierSize;
CHAR LogIdentifier[RECORDER_LOG_IDENTIFIER_MAX_CHARS];
WPP_RECORDER_TRI_STATE UseTimeStamp;
WPP_RECORDER_TRI_STATE PreciseTimeStamp;
} RECORDER_LOG_CREATE_PARAMS, *PRECORDER_LOG_CREATE_PARAMS;
Members
Size
Size of this structure.
LogTag
Optional tag to associate with the allocated memory of the log.
TotalBufferSize
Size in bytes for the log area.
ErrorPartitionSize
The number of bytes out of TotalBufferSize used to log error messages. Zero indicates no error partition.
LogIdentifierAppendValue
Number/pointer to append to log identifier.
LogIdentifierAppendValueSet
Specifies whether LogIdentifierAppendValue has been set.
LogIdentifierSize
Size of LogIdentifier field, in bytes (according to client's definition).
LogIdentifier[RECORDER_LOG_IDENTIFIER_MAX_CHARS]
Identifier to print when debug messages are merged. Lives at end of structure so that, if at some point clients have different definitions of the array size, it remains simple to read the rest of the structure.
UseTimeStamp
A WPP_RECORDER_TRI_STATE-typed value that indicates:
- If set to WppRecorderTrue, timestamps of millisecond granularity will be added to WPP log entries.
- If set to WppRecorderFalse, the timestamp will not be recorded.
- If set to WppRecorderDefault, it has the same effect as WppRecorderFalse, unless the INF file for the driver package sets WppRecorder_UseTimeStamp to 1, in which case it means WppRecorderTrue.
This field is available starting in Windows 11, version 22H2. For more info, see Inflight Trace Recorder (IFR) for logging traces.
PreciseTimeStamp
A WPP_RECORDER_TRI_STATE-typed value that indicates:
- If set to WppRecorderTrue, timestamps of a tenth of a microsecond granularity will be added to WPP log entries.
- If set to WppRecorderFalse, the timestamp will not be recorded.
- If set to WppRecorderDefault, it has the same effect as WppRecorderFalse, unless the INF file for the driver package sets WppRecorder_UseTimeStamp and WppRecorder_PreciseTimeStamp to 1, in which case it means WppRecorderTrue.
This field is available starting in Windows 11, version 22H2. For more info, see Inflight Trace Recorder (IFR) for logging traces.
Requirements
Requirement | Value |
---|---|
Header | wpprecorder.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for