Share via


ITuner::put_PreferredComponentTypes

 
Microsoft DirectShow 9.0

ITuner::put_PreferredComponentTypes

The put_PreferredComponentTypes method sets the collection of ComponentType objects used for default component selection.

Syntax

  HRESULT put_PreferredComponentTypes(
  IComponentTypes* pComponentTypes
);

Parameters

pComponentTypes

[in] Pointer to an IComponentTypes interface that contains the collection of ComponentType objects.

Return Values

When the method is successful, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Applications create a list of preferred component types by instantiating an empty ComponentTypes collection, filling it, then submitting it to the Tuner using put_PreferredComponentTypes.

Requirements

Header: Include bdaiface.h.

See Also