StartTrackingContext

Start a tracking context.

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