Share via


WriteContextTLogs

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

Writes logs files for the current context.

Syntax

HRESULT WINAPI WriteContextTLogs(LPCTSTR intermediateDirectory, LPCTSTR tlogRootName);  

Parameters

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

[in] tlogRootName
The root name of the log file name.

Return Value

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

Requirements

Header: FileTracker.h

See Also

WriteAllTLogs