MprAdminAcceptNewLink

[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
);
 

Parameters

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

Return Values

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.

Remarks

If RAS does not accept the new link, RAS will not call the MprAdminLinkHangupNotification function.

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in mprapi.h.
  Import Library: user-defined.

See Also

MprAdminAcceptNewConnection, MprAdminConnectionHangupNotification, MprAdminLinkHangupNotification, RAS_PORT_0, RAS_PORT_1