Share via


ITuner::put_PreferredComponentTypes method (tuner.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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

Syntax

HRESULT put_PreferredComponentTypes(
  [in] IComponentTypes *ComponentTypes
);

Parameters

[in] ComponentTypes

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

Return value

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

Requirement Value
Target Platform Windows
Header tuner.h

See also

Error and Success Codes

ITuner Interface