I have question.
I want to get packets value. (send/received), mean
list1.additem dwOutOctets '20
list1.additem dwInOctets '0
but use this api (dwOutOctets, dwInOctets) , but that value is NOT windows that value?
how to correct get that value, as same as windows see this (pictute)
please!
http://support.gateway.com/support/m...s/wireless.jpgAttachment 93549
EDIT: source, http://en.allexperts.com/q/Visual-Ba...ived-bytes.htm
I want to get packets value. (send/received), mean
list1.additem dwOutOctets '20
list1.additem dwInOctets '0
but use this api (dwOutOctets, dwInOctets) , but that value is NOT windows that value?
how to correct get that value, as same as windows see this (pictute)
please!
Code:
Private Declare Function GetIfTable Lib "iphlpapi.dll" (ByRef pIfTable As Any, ByRef pdwSize As Long, ByVal bOrder As Long) As Long
Private Type MIB_IFROW
wszName(0 To (MAX_INTERFACE_NAME_LEN - 1) * 2) As Byte
dwIndex As Long
dwType As Long
dwMtu As Long
dwSpeed As Long
dwPhysAddrLen As Long
bPhysAddr(0 To MAXLEN_PHYSADDR - 1) As Byte
dwAdminStatus As Long
dwOperStatus As Long
dwLastChange As Long
dwInOctets As Long
dwInUcastPkts As Long
dwInNUcastPkts As Long
dwInDiscards As Long
dwInErrors As Long
dwInUnknownProtos As Long
dwOutOctets As Long
dwOutUcastPkts As Long
dwOutNUcastPkts As Long
dwOutDiscards As Long
dwOutErrors As Long
dwOutQLen As Long
dwDescrLen As Long
bDescr(0 To MAXLEN_IFDESCR - 1) As Byte
End Type
EDIT: source, http://en.allexperts.com/q/Visual-Ba...ived-bytes.htm