Microsoft DirectX 8.1 (C++)

ITuningSpace::get_DefaultPreferredComponentTypes

The get_DefaultPreferredComponentTypes method returns an enumeration of the preferred component types, which specify parameters such as the preferred audio stream.

Syntax

HRESULT get_DefaultPreferredComponentTypes(
    IComponentTypes** ppComponentTypes
    );

Parameters

ppComponentTypes

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

Return Values

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Remarks

A "component" in this context means a stream within the program. An example of a "preferred component" would be an audio stream in English. When multiple components or streams are available, the Tuner will always attempt to play the preferred ones first.

See Also