IServiceTrackerConfig::TrackerConfig method (comsvcs.h)

Configures the tracker property for the enclosed work.

Syntax

HRESULT TrackerConfig(
  [in] CSC_TrackerConfig trackerConfig,
  [in] LPCWSTR           szTrackerAppName,
  [in] LPCWSTR           szTrackerCtxName
);

Parameters

[in] trackerConfig

A value from the CSC_TrackerConfig enumeration.

[in] szTrackerAppName

The application identifier under which tracker information is reported.

[in] szTrackerCtxName

The context name under which tracker information is reported.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_FAIL, and S_OK.

Remarks

Because no component is associated with this tracker property, tracker activity is reported as arising from a component with the name specified by szTrackerAppName.

Requirements

Requirement Value
Minimum supported client Windows XP with SP1 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

IServiceTrackerConfig