MprAdminConnectionHangupNotification2 function (mprapi.h)

Remote Access Service calls the MprAdminConnectionHangupNotification2 function after the last link for the specified connection has been dismantled.

Syntax

void MprAdminConnectionHangupNotification2(
  [in] RAS_CONNECTION_0 *pRasConnection0,
  [in] RAS_CONNECTION_1 *pRasConnection1,
  [in] RAS_CONNECTION_2 *pRasConnection2
);

Parameters

[in] pRasConnection0

Pointer to a RAS_CONNECTION_0 structure that describes this connection.

[in] pRasConnection1

Pointer to the RAS_CONNECTION_1 structure that describes this connection.

[in] pRasConnection2

Pointer to a RAS_CONNECTION_2 structure that describes this connection.

Return value

None

Remarks

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

Windows 2000 Server and earlier:  If MprAdminAcceptNewConnection does not accept the new connection, RAS does not call the MprAdminConnectionHangupNotification2 function.

Do not call any of the RAS Administration Functions or RAS User Administration Functions from inside MprAdminConnectionHangupNotification2. Calls to these functions do 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

MprAdminAcceptNewConnection2

MprAdminAcceptNewLink

MprAdminConnectionHangupNotification

MprAdminConnectionHangupNotification3

RAS Administration DLL

RAS Administration Functions

RAS_CONNECTION_0

RAS_CONNECTION_1

RAS_CONNECTION_2

Remote Access Service Administration Reference