Start a tracking context.

HRESULT WINAPI StartTrackingContext(LPCTSTR intermediateDirectory, LPCTSTR taskName);

[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.

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

Header: FileTracker.h