Microsoft DirectX 8.1 (C++) |
The _TuningSpacesForCLSID method retrieves a collection of tuning spaces that match the specified CLSID. (For use by C++ clients.)
Syntax
HRESULT _TuningSpacesForCLSID(
REFCLSID SpaceCLSID,
ITuningSpaces** ppTuningSpaces
);
Parameters
SpaceCLSID
[in] Specifies the CLSID of the tuning space to retrieve.
ppTuningSpaces
[out] Address of a 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
This method matches against the CLSID returned by the ITuningSpace::get_CLSID method. The returned collection might be empty; call ITuningSpaces::get_Count to determine how many tuning spaces were returned.
If the method succeeds, the ITuningSpaces interface has an outstanding reference count. The caller must release the interface.
See Also