Share via


ITuningSpaceContainer::get__NewEnum

 
Microsoft DirectShow 9.0

ITuningSpaceContainer::get__NewEnum

The get__NewEnum method supports For...Each loops in Automation clients.

Syntax

  HRESULT get__NewEnum(
    IEnumVARIANT** ppNewEnum
    );

Parameters

ppNewEnum

[out]  Pointer to a variable that receives an IEnumVARIANT interface pointer. The caller must release the interface.

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 ITuningSpaceContainer::get_EnumTuningSpaces method.

The returned IEnumVARIANT interface is not thread safe, because it is intended primarily for use by Automation clients. Clients should not call methods on the interface from more than one thread.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also