IMcastAddressAllocation::get_Scopes 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 get_Scopes method creates a collection of IMcast scopes available. This method is similar to EnumerateScopes, but is used by scripting languages such as Visual Basic.

Syntax

HRESULT get_Scopes(
  [out] VARIANT *pVariant
);

Parameters

[out] pVariant

Pointer to a VARIANT receiving an ITCollection of IMcastScope interface pointers.

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 IMcastScope interface returned by IMcastAddressAllocation::get_Scopes. The application must call Release on the IMcastScope 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

IMcastScope

ITCollection