Microsoft DirectX 8.1 (C++)

ITuningSpaceContainer::get__NewEnum

The get__NewEnum method is an enumeration method to support For...Each loops in Automation clients.

Syntax

HRESULT get__NewEnum(
    IEnumVARIANT** ppNewEnum
    );

Parameters

ppNewEnum

[out] Address of an IEnumVARIANT interface pointer that will be set to the returned collection.

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 is provided to enable scripting and VB applications to iterate through the collection in a For...Each loop. C++ applications should use the get_EnumTuningSpaces method.

See Also