Edit

Share via


OnTraceInfoFunc typedef

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 OnTraceInfoFunc typedef is one of the function signatures used in the ANALYSIS_CALLBACKS and RELOG_CALLBACKS structures.

Syntax

typedef enum CALLBACK_CODE (BUILD_INSIGHTS_API *OnTraceInfoFunc)(
    const TRACE_INFO_DATA*          traceInfo,
    void*                           callbackContext);

Parameters

traceInfo
A TRACE_INFO_DATA object that contains information about the trace currently being analyzed or relogged.

callbackContext
The context value that was set for this callback in ANALYSIS_DESCRIPTOR or RELOG_DESCRIPTOR.

Return Value

A CALLBACK_CODE value that controls what should happen next.