Share via


ITuningSpace::put_DefaultLocator Method

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

Syntax

HRESULT put_DefaultLocator(
  [in]  ILocator *pLocatorVal
);

Parameters

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

Return Value

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.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

ITuningSpace Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008