[This is preliminary documentation and subject to change.]
The MprAdminPortDisconnect function disconnects a connection on a specific port.
DWORD MprAdminPortDisconnect(
RAS_SERVER_HANDLE hRasServer, // handle to the server
HANDLE hPort // handle to the port
);
If the function succeeds, the return value will be NO_ERROR.
If the function fails, the return value will be ERROR_INVALID_PARAMETER.
Windows NT: Use version 5.0 and later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in mprapi.h.
Import Library: Link with mprapi.lib.
MprAdminServerConnect, MprAdminPortEnum