OVH Cloud OVH Cloud

Structure MIB_IFROW

2 réponses
Avatar
toto
Bonjour,

Comment convertir la valeur dwLastChange d'une structure MIB_IFROW en
secondes ?

Merci.

2 réponses

Avatar
Seb
"toto" wrote in message
news:438e3157$0$21618$
Bonjour,

Comment convertir la valeur dwLastChange d'une structure MIB_IFROW en
secondes ?

Merci.



En secondes ?
Mais c'est déjà des 10^-2 secondes.
Avatar
Arnold McDonald
toto wrote:
Bonjour,

Comment convertir la valeur dwLastChange d'une structure MIB_IFROW en
secondes ?

Merci.



http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mib/mib/mib_ifrow.asp

dwLastChange
Specifies the length of time, in centaseconds (10^-2 sec), that elapsed
between January 1, 1601, and the last change of the operational status of
the interface (connection). The value rolls over after 2^32 centaseconds.

Ce sont des 10^-2 secondes, tu sais pas multiplier ? ;-)

--
Arnold McDonald (AMcD®)

http://arnold.mcdonald.free.fr/