Partager via


ITuningSpaceContainer::TuningSpacesForCLSID

 
Microsoft DirectShow 9.0

ITuningSpaceContainer::TuningSpacesForCLSID

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

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(
    BSTR SpaceCLSID,
    ITuningSpaces **ppTuningSpaces
);

Parameters

SpaceCLSID

[in] String representation of the CLSID of the tuning space.

ppTuningSpaces

[out]  Pointer to a variable that receives an ITuningSpaces interface pointer. Use this interface to enumerate the collection. The caller must release the interface.

Return Values

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

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also