Packet Sniffer SDK DLL Edition

Events :: OnStatistics

 Previous Next

Fires when network adapter statistics has been updated asynchronously.

Syntax:

void __stdcall OnStatistics(DWORD_PTR Param, DWORD StatisticsType, PULARGE_INTEGER pValue);

Parameters:

Param

[in] OnAdpAsyncSend event handler parameter. May be set by the AdpSetOnStatistics function call.

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 AdpGetAsyncStatistics function execution has been completed.

See also:HNAdapter, AdpSetOnStatistics, HNStatisticsType, AdpGetAsyncStatistics