IMcastScope::get_ServerID 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_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.

Syntax

HRESULT get_ServerID(
  [out] long *pID
);

Parameters

[out] pID

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 value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_POINTER
The caller passed in an invalid pointer argument.

Requirements

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

See also

IMcastScope

IMcastScope::get_ScopeID