Share via


ITuner::get_PreferredComponentTypes Method

The get_PreferredComponentTypes method gets the collection of ComponentType objects used for default component selection.

Syntax

HRESULT get_PreferredComponentTypes(
  [out]  IComponentTypes **ppComponentTypes
);

Parameters

  • ppComponentTypes [out]
    Address of an IComponentTypes interface pointer that receives the collection of ComponentType objects.

Return Value

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

Remarks

When a program ends, there may be a new set of stream components available, so at that time the tuner will automatically examine the list of preferred component types and select a component based on that list. If no list is available, the tuner will make a selection based on other factors. Applications call this method simply to examine the current list.

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