McastReleaseAddress function (madcapcl.h)

The McastReleaseAddress function releases leased multicast addresses from the MCAST server.

Syntax

DWORD McastReleaseAddress(
  [in] IP_ADDR_FAMILY       AddrFamily,
  [in] LPMCAST_CLIENT_UID   pRequestID,
  [in] PMCAST_LEASE_REQUEST pReleaseRequest
);

Parameters

[in] AddrFamily

Designates the address family. Use AF_INET for Internet Protocol version 4 (IPv4), and AF_INET6 for Internet Protocol version 6 (IPv6).

[in] pRequestID

Unique identifier used when the address or addresses were initially obtained.

[in] pReleaseRequest

Pointer to the MCAST_LEASE_REQUEST structure containing multicast parameters associated with the release request.

Return value

The McastReleaseAddress function returns the status of the operation.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header madcapcl.h
Library Dhcpcsvc.lib
DLL Dhcpcsvc.dll

See also

IPNG_ADDRESS

MCAST_CLIENT_UID

MCAST_LEASE_REQUEST

MCAST_LEASE_RESPONSE

MCAST_SCOPE_CTX

MCAST_SCOPE_ENTRY

McastApiCleanup

McastApiStartup

McastEnumerateScopes

McastGenUID

McastRenewAddress

McastRequestAddress