Updates the network adapter statistics synchronously.
Syntax:
function UpdateAdapterStatistics: DWORD;
Return values:
HNERR_OK
Adapter statistics has been updated successfully.
HNERR_ADAPTER_NOT_OPENED
Network adapter has not been opened, see OpenAdapter.
HNERR_ADAPTER_REQ_ERR
An internal driver request error.
Description:
After the network adapter has been opened successfully by
OpenAdapter method, you can use UpdateAdapterStatistics method to update
network adapter statistics created by the operation system.