title | description | ms.date | helpviewer_keywords | ||||||
---|---|---|---|---|---|---|---|---|---|
StartTracingSessionA |
The C++ Build Insights SDK StartTracingSessionA function reference. |
02/12/2020 |
|
::: moniker range="<=msvc-140"
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.
::: moniker-end ::: moniker range=">=msvc-150"
The StartTracingSessionA
function starts a tracing session. Executables calling this function must have administrator privileges.
enum RESULT_CODE StartTracingSessionA(
const char* sessionName,
const TRACING_SESSION_OPTIONS* options);
sessionName
The name of the tracing session to start. Use the same name when calling StopTracingSessionA or any other stop trace function.
options
Pointer to a TRACING_SESSION_OPTIONS object. Use this object to select which events should be collected by the tracing session.
A result code from the RESULT_CODE enum.
::: moniker-end