MprAdminAcceptNewConnection

[This is preliminary documentation and subject to change.]

The MprAdminAcceptNewConnection function is called each time a new user dials in and successfully completes RAS authentication.

BOOL MprAdminAcceptNewConnection(
  RAS_CONNECTION_0 * pRasConnection0,   // struct that describes connection
  RAS_CONNECTION_1 * pRasConnection1    // struct that describes connection
);
 

Parameters

pRasConnection0
Pointer to a RAS_CONNECTION_0 structure describing this connection.
pRasConnection1
Pointer to a RAS_CONNECTION_1 structure describing this connection.

Return Values

If RAS accepts the new connection, the return value is TRUE.

If RAS does not accept the new connection, the return value is FALSE.

Remarks

If RAS does not accept the new connection, RAS will not call the MprAdminConnectionHangupNotification 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

MprAdminConnectionHangupNotification, RAS_CONNECTION_0, RAS_CONNECTION_1