Microsoft DirectX 9.0


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


HRESULT get_PreferredComponentTypes(
  IComponentTypes** ppComponentTypes



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

Return Values

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


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.

See Also