Microsoft DirectX 8.0 |
The SystemTuningSpaces Object contains a collection of all Tuning Spaces currently available on the local system and provides methods for adding new tuning spaces or removing existing ones.
Method or Property Name Description Add Add a new Tuning Space to the collection. This tuning space will be persisted unless removed Count Number of items in the collection. FindID Find Local ID Number of the specified Tuning Space. Item Find the Tuning Space with the specified Index or update an existing tuning space in the collection. MaxCount Retrieve the maximum number of items allowed in the collection. Remove Remove a Tuning Space from the collection. this tuning space will be deleted from the registry. TuningSpacesForCLSID Returns the collection of Tuning Spaces with the same implementation. TuningSpacesForName Returns the collection of Tuning Spaces matching the name.
Add a new Tuning Space to the collection. This tuning space will be persisted unless removed.
Syntax
SystemTuningSpaces.Add(TuningSpace)
Parameters
TuningSpace The tuning space object to add (ATSCTuningSpace, DVBTuningSpace, etc.).
Return Value
If successful, returns the index of the newly-added object.
Number of items in the collection.
Syntax
SystemTuningSpaces.Count
Remarks
This property is read only.
Find the local unique ID Number of the specified tuning space.
Syntax
SystemTuningSpaces.FindID(TuningSpace)
Parameters
TuningSpace The object whose ID you wish to retrieve.
Return Value
If successful, returns the ID of the specified object.
Find the Tuning Space with the specified Index or update an existing tuning space in the collection.
Syntax
SystemTuningSpaces.Item(varIndex)
Parameters
varIndex The index of the tuning space object to set or retrieve.
Possible Values
Any valid tuning space object (ATSCTuningSpace, DVBTuningSpace, etc.)
Remarks
This property is read-write. Setting the Tuning Space object will persist the change to the backing store.
Retrieve the maximum number of items allowed in the collection.
Syntax
SystemTuningSpaces.MaxCount
Remarks
This property is read only from script. A C++ application can modify this value or it can also be modified in the registry.
Remove a Tuning Space from the collection. This tuning space will be deleted from the registry.
Syntax
SystemTuningSpaces.Remove
Remarks
This property is read-write.
Returns the collection of Tuning Spaces with the same implementation.
Syntax
SystemTuningSpaces.TuningSpacesForCLSID(SpaceCLSID)
Parameters
SpaceCLSID The CLSID of the tuning spaces to search for.
Return Value
If successful, returns a SystemTuningSpaces object containing a collection of tuning space objects matching the CLSID.
Returns the collection of Tuning Spaces matching the name.
Syntax
SystemTuningSpaces.TuningSpacesForName(Name)
Parameters
Name The locally unique name of the Tuning Spaces to search for.
Return Value
If successful, returns a SystemTuningSpaces object containing the tuning spaces that match the specified name.