MprAdminPortClearStats

[This is preliminary documentation and subject to change.]

The MprAdminPortClearStats function resets the statistics for the specified port.

DWORD MprAdminPortClearStats(
  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 clear the statistics for the specified port. Obtain this handle by calling MprAdminServerConnect.
hPort
Handle to the port for which statistics will 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