Returns the number of the packets passed by the user-settable packet filter.
Syntax:
function Get_AcceptCount(HiValue: PUINT) : UINT;
Parameters:
HiValue
[out] The pointer to the variable, in which the high DWORD of the result will be stored. May be
set to NULL if the application does not need these data.
Return values:
If the function succeeds the return value will be the low-order doubleword of the number of
packets passed by the user-settable packet filter, and if HiValue is non-NULL the function will put the
high-order doubleword of this number into the variable pointed to by this parameter.
Description:
Use this function only after successful opening of CAP file. This function returns the value of
the internal counter of packets from the HNFileAdapter component,
only packets passed by the current BPF filter are counted
(see HNFileAdapter.UserFilter).