|Microsoft DirectX 9.0|
The _TuningSpacesForCLSID method retrieves a collection of tuning spaces that match the specified CLSID.
HRESULT _TuningSpacesForCLSID( REFCLSID SpaceCLSID, ITuningSpaces** ppTuningSpaces );
[in] Specifies the CLSID of the tuning spaces to retrieve.
[out] Address of a variable that receives an ITuningSpaces interface pointer. The caller must release the interface.
Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.
The CLSID represents the object that implements the tuning space. The same object may implement several related tuning spaces. For example, ATSC Digital Antenna and ATSC Digital Cable are both supported by the ATSCTuningSpace object (CLSID_ATSCTuningSpace).
This method matches against the CLSID returned by the ITuningSpace::get_CLSID method. The returned collection might be empty; call ITuningSpaces::get_Count to determine how many tuning spaces were returned.