ITuningSpaceContainer::TuningSpacesForCLSID method (tuner.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The TuningSpacesForCLSID method retrieves a collection of tuning spaces that match the specified CLSID.

This method is intended for Automation clients, because it returns the CLSID as a BSTR. C++ applications can use the ITuningSpaceContainer::_TuningSpacesForCLSID method instead, which returns a GUID value.

Syntax

HRESULT TuningSpacesForCLSID(
  [in]  BSTR          SpaceCLSID,
  [out] ITuningSpaces **NewColl
);

Parameters

[in] SpaceCLSID

String representation of the CLSID of the tuning space.

[out] NewColl

Receives a pointer to the ITuningSpaces interface. The caller must release the interface.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tuner.h

See also

ITuningSpaceContainer Interface