Platform SDK: TAPI

IMcastAddressAllocation::EnumerateScopes

Creates an enumeration of multicast scopes available. This method is primarily for C++ programmers. Visual Basic and other scripting languages use get_Scopes instead.

HRESULT EnumerateScopes(
  IEnumMcastScope **ppEnumMcastScope
);

Parameters

ppEnumMcastScope
[out] Returns a pointer to a new IEnumMcastScope object.

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The caller passed in an invalid pointer argument.
E_FAIL There are no scopes available.
E_OUTOFMEMORY Not enough memory exists to create the required objects.

Requirements

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

See Also

IMcastAddressAllocation