StartTrackingContext

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Start a tracking context.

Syntax

HRESULT WINAPI StartTrackingContext(LPCTSTR intermediateDirectory, LPCTSTR taskName);  

Parameters

[in] intermediateDirectory
The directory in which to store the tracking log.

[in] taskName
Identifies the tracking context. This name is used to create the log file name.

Return Value

An [HRESULT]() with the [SUCCEEDED]() bit set if the tracking context was created.

Requirements

Header: FileTracker.h