Platform SDK: TAPI

ITMediaCollection::get_EnumerationIf

Gets a pointer to a media enumeration interface.

HRESULT get_EnumerationIf(
  IEnumMedia **pVal
);

Parameters

pVal
[out] Pointer to the IEnumMedia interface for the desired item.

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__NewEnum except that it returns IEnumMedia instead of IUnknown.

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