hLbAdp parameter is not the HNLBAdapter object handle.
Description:
After Loopback adapter has been opened successfully by
LbAdpOpenAdapter function, you can use LbAdpUpdateUserStatistics
function to update user-settable filter statistics collected by the internal driver.
Using these statistics, you can estimate the speed of the captured packets processing in your
application.
LbAdpGetRecvCount function returns the number of packets,
received by the internal driver from OS, while LbAdpGetProcessCount
function returns the number of packets, transferred to the application, which directly depends on the
speed of your processing the captured packets using
OnPacketReceive event handler.
If this function fails, the values of internal counters of the Loopback adapter in the
HNLBAdapter component aren't defined (contain garbage).
This function may be used in the Ethernet emulation mode only
(see HNLBAdapter.EthEmulation[Get/Set]).