MprAdminReleaseIpv6AddressForUser function (mprapi.h)

The MprAdminReleaseIpv6AddressForUser function is called once for each user that needs to release an IPv6 address.

Syntax

void MprAdminReleaseIpv6AddressForUser(
  [in] WCHAR    *lpszUserName,
  [in] WCHAR    *lpszPortName,
  [in] IN6_ADDR *lpdwIpv6Address
);

Parameters

[in] lpszUserName

Pointer to a Unicode string that specifies the name of the user that disconnected.

[in] lpszPortName

Pointer to a Unicode string that specifies the name of the port on which the user disconnected.

[in] lpdwIpv6Address

Pointer to an IN6_ADDR structure. This variable specifies the IPv6 address to be released.

Return value

If function succeeds, the return value should be NO_ERROR.

If the function returns anything other than NO_ERROR, RAS will terminate the connection.

Remarks

An administration DLL need not implement the MprAdminReleaseIpv6AddressForUser function. However, if the DLL implements MprAdminReleaseIpv6AddressForUser, it must also implement MprAdminGetIpv6AddressForUser.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mprapi.h

See also

MprAdminConnectionHangupNotification

MprAdminGetIpv6AddressForUser

RAS Administration DLL

RAS Administration Functions

Remote Access Service Administration Reference