Microsoft DirectX 8.1 (C++)

SystemTuningSpaces.TuningSpacesForCLSID

The TuningSpacesForCLSID function returns a collection of tuning spaces that match the specified CLSID.

Syntax

objSystemTuningSpaces.TuningSpacesForCLSID(SpaceCLSID As String) As 
ITuningSpaces

Parameters

SpaceCLSID

  Specifies the CLSID as a String.

Error Codes

If the method fails, an error is raised and Err.Number is set to a value other than zero.

Return Value

This method returns an ITuningSpaces collection as an Object.

Remarks

This method matches against the ITuningSpace.CLSID property of each tuning space.

Code Example

Public Const AnalogRadioCLSID As String = "{8A674B4C-1F63-11d3-B64C-00C04F79498E}" 
Public Const AnalogTVCLSID As String = "{8A674B4D-1F63-11D3-B64C-00C04F79498E}" 
Public Const AtscCLSID As String = "{A2E30750-6C3D-11D3-B653-00C04F79498E}" 
Public Const DvbcLSID As String = "{C6B14B32-76AA-4A86-A7AC-5C79AAF58DA7}" 
Public Const DVBSCLSID As String = "{B64016F3-C9A2-4066-96F0-BD9563314726}" 
Dim mTuningSpaces As New SystemTuningSpaces
Dim objTuningSpaces As ITuningSpaces
objTuningSpaces = mTuningSpaces.TuningSpacesForCLSID(AtscCLSID)

See Also