OID_GEN_DISCONTINUITY_TIME

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

Version Information

Windows Vista and later
Supported.

NDIS 6.0 and later miniport drivers
Not requested. For NDIS interface providers only.

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 computer 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 computer. For more information about the statistics counters, see OID_GEN_STATISTICS. To get the current time, an interface provider can call the NdisGetSystemUpTimeEx function.

If no such discontinuity occurred since the last re-initialization 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 computer restart.

Requirements

Header

Ntddndis.h (include Ndis.h)

See also

NDIS Network Interface OIDs


Send comments about this topic to Microsoft