Platform SDK: TAPI

ITMediaCollection::get__NewEnum

Returns an enumerator for the collection.

HRESULT get__NewEnum(
  IUnknown **pVal
);

Parameters

pVal
[out] Pointer to IUnknown interface of the enumeration.

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The pVal parameter is not a valid pointer.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
E_FAIL Unspecified error.
E_NOTIMPL This method is not yet implemented.

Remarks

This method is interchangeable with get_EnumerationIf except that it returns IUnknown instead of IEnumMedia.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Sdpblb.h.
  Library: Use Sdpblbid.lib.

See Also

ITMediaCollection