IKsAggregateControl::KsAddAggregate method (ksproxy.h)

The KsAddAggregate method adds a COM server as an aggregate provider to the list of interface providers for the KS object that exposes the IKsAggregateControl interface.

Syntax

HRESULT KsAddAggregate(
  [in] REFGUID AggregateClass
);

Parameters

[in] AggregateClass

Identifies the COM server to add.

Return value

Returns NOERROR if successful; otherwise, returns an error code.

Requirements

Requirement Value
Target Platform Desktop
Header ksproxy.h (include Ksproxy.h)

See also

IKsAggregateControl

IKsAggregateControl::KsRemoveAggregate