次の方法で共有


OID_GEN_LAST_CHANGE (Compact 2013)

3/26/2014

As a query, use this OID to determine the time of the last operational state change of a network interface (ifLastChange 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 entered its current operational state. For more information about the operational state, see NDIS_STATUS_OPER_STATUS and OID_GEN_OPERATIONAL_STATUS. To obtain the current time, an interface provider can call the NdisGetSystemUpTimeEx function.

If the current operational state was entered before the last reinitialization of the interface, this value should be zero. . If the interface provider does not track operational state change time, the value should be zero.

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

Requirements

Header

ntddndis.h

See Also

Reference

NDIS Network Interface OIDs
OID_GEN_OPERATIONAL_STATUS
NDIS_STATUS_OPER_STATUS
NdisGetSystemUpTimeEx