RegisterSource

See Also   Tasks   Example   Applies To

Registers a component with Visual Studio Analyzer.

Syntax

Visual Basic object.RegisterSource(strVisibleName As String, guidSourceID As String)
Visual C++ HRESULT RegisterSource([in] LPCOLESTR strVisibleName,
[in] REFGUID guidSourceID);
Visual J++ object.RegisterSource(String strVisibleName, String guidSourceID);

Parameters

object

A unique instance of the installer object.

strVisibleName

The name of the component that will be firing events. This name is visible to the Visual Studio Analyzer user. You must use Unicode characters from the ANSI character set for the name.

guidSourceID

A unique identifier for this component.