Platform SDK: TAPI

IMcastAddressAllocation::get_Scopes

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.

HRESULT get_Scopes(
  VARIANT *pVariant
);

Parameters

pVariant
[out] Pointer to a VARIANT that will receive an OLE-standard ITCollection of available multicast scopes. Each scope is an IDispatch pointer to an object that implements IMcastScope.

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, ITCollection, IMcastScope