Partager via


ITuningSpaces::get__NewEnum method (tuner.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The get__NewEnum method returns an enumerator for the collection.

This method is provided to enable scripting and Visual Basic applications to iterate through the collection in a For...Each loop. C++ applications should use the ITuningSpaces::get_EnumTuningSpaces method.

Syntax

HRESULT get__NewEnum(
  [out] IEnumVARIANT **NewEnum
);

Parameters

[out] NewEnum

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

Return value

Returns S_OK if successful.

Remarks

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

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tuner.h

See also

ITuningSpaces Interface