Microsoft DirectX 8.1 (C++) |
The Add method adds a new, persistent, tuning space to the system.
Syntax
HRESULT Add(
ITuningSpace* pTuningSpace,
VARIANT* pNewIndex
);
Parameters
pTuningSpace
[in] Pointer to the ITuningSpace interface on the new Tuning Space object to be added to the system.
pNewIndex
[out] Pointer to a variable of type VARIANT that will receive the index number of the new tuning space in the current collection.
Return Values
Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.
Remarks
The ITuningSpaceContainer::Add method starts adding objects with an index of 1, rather than zero.
See Also