Platform SDK: TAPI

IMcastScope::get_ScopeID

The get_ScopeID method obtains an identifier for the scope of multicast addresses. The scope ID and server ID are needed to select this scope in subsequent calls to IMcastAddressAllocation::RequestAddress, IMcastAddressAllocation::RenewAddress, or IMcastAddressAllocation::ReleaseAddress.

HRESULT get_ScopeID(
  long *pID
);

Parameters

pID
[out] Pointer to a LONG that will receive the scope ID of this scope, which is the ID that was assigned to this scope when it was configured on the multicast server.

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The caller passed in an invalid pointer argument.

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

IMcastScope, IMcastScope::get_ServerID