[This is preliminary documentation and subject to change.]
The MprAdminPortReset function resets the communication device attached to the specified port.
DWORD MprAdminPortReset(
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