Condividi tramite


Metodo IKsAggregateControl::KsAddAggregate (ksproxy.h)

Il metodo KsAddAggregate aggiunge un server COM come provider di aggregazioni all'elenco di provider di interfacce per l'oggetto KS che espone l'interfaccia IKsAggregateControl .

Sintassi

HRESULT KsAddAggregate(
  [in] REFGUID AggregateClass
);

Parametri

[in] AggregateClass

Identifica il server COM da aggiungere.

Valore restituito

Restituisce NOERROR se ha esito positivo; in caso contrario, restituisce un codice di errore.

Requisiti

Requisito Valore
Piattaforma di destinazione Desktop
Intestazione ksproxy.h (includere Ksproxy.h)

Vedi anche

IKsAggregateControl

IKsAggregateControl::KsRemoveAggregate