RAS calls the
MprAdminLinkHangupNotification function whenever a link for a particular connection is dismantled.
Syntax
|
void CALLBACK MprAdminLinkHangupNotification(
__in RAS_PORT_0 *pRasPort0,
__in RAS_PORT_1 *pRasPort1
);
|
Parameters
- pRasPort0 [in]
-
Pointer to a
RAS_PORT_0 structure that describes the port being used by the link.
- pRasPort1 [in]
-
Pointer to a
RAS_PORT_1 structure that describes the port being used by the link.
Return Value
This function does not have a return value.
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
| Client | Requires Windows Vista, Windows XP, or Windows 2000. |
| Server | Requires Windows Server 2008, Windows Server 2003, or Windows 2000 Server. |
|---|
| Redistributable | Requires RRAS download on Windows NT Server 4.0 SP3 and later. |
| Header | Declared in Mprapi.h. |
See Also
Remote Access Service Administration Reference
RAS Administration Functions
RAS Administration DLL
MprAdminConnectionHangupNotification
MprAdminConnectionHangupNotification2
MprAdminAcceptNewConnection
MprAdminAcceptNewConnection2
MprAdminAcceptNewLink
RAS_PORT_0
RAS_PORT_1
Send comments about this topic to Microsoft
Build date: 9/4/2008