Microsoft DirectX 8.1 (C++)

DVBSTuningSpace.DefaultPreferredComponentTypes

The DefaultPreferredComponentTypes property retrieves or creates a ComponentTypes collection object containing MPEG2ComponentType objects specified by the user or application.

Syntax

objDVBSTuningSpace.DefaultPreferredComponentTypes As ComponentTypes

Parameters

This property takes no parameters.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Value

This property returns the ComponentTypes collection as an Object.

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 streams or components are available, the MSVidBDATunerDevice object will always attempt to play the preferred ones first.

See Also