INVOCATION_DATA structure

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 INVOCATION_DATA structure describes a compiler or linker invocation.

Syntax

typedef struct INVOCATION_DATA_TAG
{
    int                         MSVCToolCode;

    INVOCATION_VERSION_DATA     ToolVersion;

    const char*                 ToolVersionString;
    const wchar_t*              WorkingDirectory;
    const wchar_t*              ToolPath;

} INVOCATION_DATA;

Members

Name Description
MSVCToolCode A code that identifies the invocation's type. For more information, see MSVC_TOOL_CODE.
ToolVersion An object that stores the invoked tool's version as a group of integral values.
ToolVersionString Describes the invoked tool's version in text form.
WorkingDirectory The directory from which the invocation was made.
ToolPath The invoked tool's absolute path.