Packet Sniffer SDK VCL Edition

HNAdapter :: Events :: OnStatistics

 Previous Next

Fires when network adapter statistics has been updated asynchronously.

Syntax:

TOnStatistics = procedure (Sender : TObject;
                    StatisticsType: Integer;
                           pValue : PULargeInteger) of object;

Parameters:

StatisticsType

[in] The type of the requested statistics. This parameter is defined in the HNStatisticsType enumeration.

pValue

[in] The pointer to the requested statistics value.

Description:

Packet Sniffer SDK library fires OnStatistics immediately after Get_AsyncStatistics method execution has been completed.

See also:HNAdapter, HNStatisticsType, Get_AsyncStatistics