Microsoft DirectX 8.1 (C++)

ITuningSpace::put_DefaultPreferredComponentTypes

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

Syntax

HRESULT put_DefaultPreferredComponentTypes(
    IComponentTypes* pNewComponentTypes
    );

Parameters

pNewComponentTypes

[in] Pointer to an IComponentTypes interface on the ComponentTypes object that specifies the default preferred component types.

Return Values

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

See Also