MprAdminLinkHangupNotification function (mprapi.h)

RAS calls the MprAdminLinkHangupNotification function whenever a link for a particular connection is dismantled.

Syntax

void MprAdminLinkHangupNotification(
  [in] RAS_PORT_0 *pRasPort0,
  [in] RAS_PORT_1 *pRasPort1
);

Parameters

[in] pRasPort0

Pointer to a RAS_PORT_0 structure that describes the port being used by the link.

[in] pRasPort1

Pointer to a RAS_PORT_1 structure that describes the port being used by the link.

Return value

None

Remarks

RAS supports multiple Administration DLLs. RAS calls the multiple implementations of MprAdminLinkHangupNotification in the order in which the DLLs are listed in the registry.

Windows 2000 Server and earlier:  If RAS does not accept the new link, RAS does not call the MprAdminLinkHangupNotification function.

Do not call any of the RAS Administration Functions or RAS User Administration Functions from inside MprAdminLinkHangupNotification. Calls to these functions will not return when made from within a callout function.

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 mprapi.h

See also

MprAdminAcceptNewConnection

MprAdminAcceptNewConnection2

MprAdminAcceptNewLink

MprAdminConnectionHangupNotification

MprAdminConnectionHangupNotification2

RAS Administration DLL

RAS Administration Functions

RAS_PORT_0

RAS_PORT_1

Remote Access Service Administration Reference