MprAdminPortReset

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

Parameters

hRasServer
Handle to the Remote Access Server on which to reset the specified port. Obtain this handle by calling MprAdminServerConnect.
hPort
Handle to the port to be reset. Obtain this handle by calling MprAdminPortEnum.

Return Values

If the function succeeds, the return value will be NO_ERROR.

If the function fails, the return value will be ERROR_INVALID_PARAMETER.

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in mprapi.h.
  Import Library: Link with mprapi.lib.

See Also

MprAdminServerConnect, MprAdminPortEnum