Redigera

Dela via


RelogW

The C++ Build Insights SDK is compatible with Visual Studio 2017 and later. To see the documentation for these versions, set the Visual Studio Version selector control for this article to Visual Studio 2017 or later. It's found at the top of the table of contents on this page.

The RelogW function is used to read MSVC events from an input Event Tracing for Windows (ETW) trace and write them into a new, modified ETW trace.

Syntax

enum RESULT_CODE RelogW(
    const wchar_t*          inputLogFile,
    const wchar_t*          outputLogFile,
    const RELOG_DESCRIPTOR* relogDescriptor);

Parameters

inputLogFile
The input ETW trace that you wish to read events from.

outputLogFile
The file in which to write the new events.

relogDescriptor
Pointer to a RELOG_DESCRIPTOR object. Use this object to configure the relogging session.

Return Value

A result code from the RESULT_CODE enum.