MprAdminConnectionClearStats

[This is preliminary documentation and subject to change.]

The MprAdminConnectionClearStats function resets the statistics counters for the specified connection.

DWORD MprAdminConnectionClearStats(
  RAS_SERVER_HANDLE hRasServer,       // handle to server
  HANDLE            hRasConnection    // handle to the connection
);
 

Parameters

hRasServer
Handle to the Remote Access Server on which to execute MprAdminConnectionClearStats. Obtain this handle by calling MprAdminServerConnect.
hRasConnection
Handle to the connection for which to reset the statistics. Obtain this handle by calling MprAdminConnectionEnum.

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

MprAdminConnectionEnum, MprAdminServerConnect