次の方法で共有


OID_GEN_DISCONTINUITY_TIME (Compact 2013)

3/26/2014

As a query, use this OID to determine the discontinuity time of a network interface (ifCounterDiscontinuityTime from RFC 2863).

Remarks

Only NDIS network interface providers, and therefore not miniport drivers or filter drivers, must support this OID as an OID request.

This OID returns the time, starting from the last device restart, when the interface had a discontinuity in maintaining the statistics counters. For example, there was a discontinuity because the interface was disabled or the associated adapter was removed from the device. For more information about the statistics counters, see OID_GEN_STATISTICS. To obtain the current time, an interface provider can call the NdisGetSystemUpTimeEx function.

If no such discontinuity occurred since the last reinitialization of the interface this value should be zero. If the interface provider does not track discontinuity time, this value should be zero.

If the interface provider returns NDIS_STATUS_SUCCESS, the result of the query is a ULONG64 value that specifies the discontinuity time, in milliseconds, since the last device restart.

Requirements

Header

ntddndis.h

See Also

Reference

NDIS Network Interface OIDs