Microsoft DirectX 9.0

ITuningSpace::put_DefaultLocator

The put_DefaultLocator method sets the default locator for this tuning space.

Syntax

HRESULT put_DefaultLocator(
    ILocator* pLocatorVal
    );

Parameters

pLocatorVal

[in] Pointer to the ILocator interface of the locator object.

Return Values

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

Remarks

See ITuningSpace::get_DefaultLocator for more information about the default locator.

For DVB tuning spaces, the sytem type (cable, terrestrial, or satelite) of the tuning space must match the locator object. Otherwise, the method returns DISP_E_TYPEMISMATCH. For more information, see IDVBTuningSpace::put_SystemType.

See Also