IsDynamicSourceRegistered

See Also   Tasks   Example   Applies To

Returns a value indicating whether a particular dynamic component is already registered. A dynamic component generates events that are measured; for example, Performance Monitor is a dynamic component. Possible return values are S_OK or S_FALSE. A return value of S_FALSE means the component is not registered.

Syntax

Visual Basic object.IsDynamicSourceRegistered(guidSourceID As String, boolRegistered As Boolean)
Visual C++ HRESULT IsDynamicSourceRegistered([in] REFGUID guidSourceID);
Visual J++ object.IsDynamicSourceRegistered(String guidSourceID, boolean[] boolRegistered);

Parameters

object

A unique instance of the installer object.

guidSourceID

A unique identifier for this component.

boolRegistered

Returns a value to indicate whether this dynamic component is already registered.