ITuningSpaceContainer::_TuningSpacesForCLSID Method

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 **ppTuningSpaces
);

Parameters

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

  • ppTuningSpaces [out]
    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

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

See Also

ITuningSpaceContainer Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008