Microsoft DirectX 8.1 (C++) |
The put_Item method saves the TuningSpace object at the specified index.
Syntax
HRESULT put_Item(
VARIANT varIndex,
ITuningSpace* pTuningSpace
);
Parameters
varIndex
[in] Variable of type VARIANT specifying the index of the item to set.
pTuningSpace
[in] Pointer to the ITuningSpace interface on the object that will be persisted to the system.
Return Values
Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.
Remarks
Using the methods of ITuningSpace, an application can modify an existing tuning space and then use ITuningSpaceContainer::put_Item to save the changes to disk.
See Also