IMcastAddressAllocation::EnumerateScopes method (mdhcp.h)

[Rendezvous IP Telephony Conferencing controls and interfaces are not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]

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

Syntax

HRESULT EnumerateScopes(
  [out] IEnumMcastScope **ppEnumMcastScope
);

Parameters

[out] ppEnumMcastScope

Returns a pointer to a new IEnumMcastScope object.

Return value

This method can return one of these 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.

Remarks

TAPI calls the AddRef method on the IEnumMcastScope interface returned by IMcastAddressAllocation::EnumerateScopes. The application must call Release on the IEnumMcastScope interface to free resources associated with it.

Requirements

Requirement Value
Target Platform Windows
Header mdhcp.h
Library Uuid.lib
DLL Mdhcp.dll

See also

IMcastAddressAllocation