[This is preliminary documentation and subject to change.]
RAS calls the MprAdminAcceptNewLink function each time a link is created for particular connection. RAS will call this function once immediately after MprAdminAcceptNewConnection, and an additional time for every new link that is to be used with the connection.
BOOL MprAdminAcceptNewLink(
RAS_PORT_0 * pRasPort0, // struct that describes the port
RAS_PORT_1 * pRasPort1 // struct that describes the port
);
If RAS should accept the new link, the return value should be TRUE.
If RAS should not accept the new link, the return value should be FALSE.
If RAS does not accept the new link, RAS will not call the MprAdminLinkHangupNotification function.
Windows NT: Use version 5.0 and later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in mprapi.h.
Import Library: user-defined.
MprAdminAcceptNewConnection, MprAdminConnectionHangupNotification, MprAdminLinkHangupNotification, RAS_PORT_0, RAS_PORT_1