Platform SDK: TAPI

IMcastScope::get_ServerID

The get_ServerID method obtains the server ID associated with this scope. 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_ServerID(
  long *pID
);

Parameters

pID
[out] Pointer to a LONG that will receive the server ID of this scope, which is the ID that was assigned to the multicast address allocation server that published this scope at the time that the server was configured.

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_ScopeID