ITuner::put_PreferredComponentTypes Method

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

Syntax

HRESULT put_PreferredComponentTypes(
  [in]  IComponentTypes *pComponentTypes
);

Parameters

  • pComponentTypes [in]
    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

Header Declared in Bdaiface.h.

See Also

Error and Success Codes
ITuner Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008