Microsoft DirectX 8.1 (C++)

ITuningSpaceContainer::TuningSpacesForName

The TuningSpacesForName method retrieves a collection of tuning spaces that match the specified friendly name.

Syntax

HRESULT TuningSpacesForName(
    BSTR Name,
    ITuningSpaces** ppTuningSpaces
);

Parameters

Name

[in] String representation of the friendly name for the tuning space type.

ppTuningSpaces

[out] Address of variable that receives an ITuningSpaces interface pointer.

Return Values

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Remarks

If the method succeeds, the ITuningSpaces interface has an outstanding reference count. The caller must release the interface.

See Also