MprAdminAcceptNewConnectionEx callback function

Remote Access Service (RAS) calls the MprAdminAcceptNewConnectionEx function each time a new user dials in and successfully completes a RAS authentication. MprAdminAcceptNewConnectionEx determines whether the user is allowed to connect.

Syntax


BOOL CALLBACK MprAdminAcceptNewConnectionEx(
  _In_  PRAS_CONNECTION_EX *pRasConn
);

Parameters

pRasConn [in]

A pointer to a RAS_CONNECTION_EX structure structure that describes this connection.

Return value

If MprAdminAcceptNewConnectionEx accepts the connection, the return value should be TRUE.

If MprAdminAcceptNewConnectionEx rejects the connection, the return value should be FALSE.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mprapi.h

See also

Remote Access Service Administration Reference
RAS Administration Functions
RAS Administration DLL
MprAdminAcceptNewConnection
MprAdminAcceptNewConnection2
MprAdminAcceptNewConnection3

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.