Microsoft DirectX 8.0 |
This interface is implemented on the SystemTuningSpaces object and provides methods to retrieve the tuning spaces available on the host system.
MethodName Description get_Count Returns the number of tuning spaces in the collection. get_EnumTuningSpaces Convenience function so C++ applications don't have to unpack a VARIANT datatype. get_Item Returns the specified item in the collection. get__NewEnum Helper method for Visual Basic and script applications. Not used in C++.
Returns the number of tuning spaces in the collection.
Syntax
HRESULT get_Count( long* Count );
Parameters
- Count
- [out, retval] Pointer to a variable of type long that receives the number of items in the collection.
Return Value
Returns S_OK if successful.
Convenience function so C++ applications don't have to unpack a VARIANT datatype.
Syntax
HRESULT get_EnumTuningSpaces( IEnumTuningSpaces** NewEnum );
Parameters
- NewEnum
- [out, retval] Address of an IEnumTuningSpaces interface pointer that receives the new collection.
Return Value
Returns S_OK if successful.
Returns the specified item in the collection.
Syntax
HRESULT get_Item( VARIANT varIndex, ITuningSpace** TuningSpace );
Parameters
- varIndex
- [in] String or index number that specifies the item to return.
- TuningSpace
- [out, retval] Address of the returned ITuningSpace interface pointer.
Return Value
Returns S_OK if successful.
Helper method for Visual Basic and script applications. Not used in C++.
Syntax
HRESULT get__NewEnum( IEnumVARIANT** NewEnum );
Parameters
- NewEnum
- [out, retval] Address of an IEnumVariant interface pointer.
Return Value
Returns S_OK if successful.
Remarks
This method enables Microsoft® Visual Basic® and script applications to retrieve items in a For...Next loop.