OID_GEN_OPERATIONAL_STATUS

As a query, use the OID_GEN_OPERATIONAL_STATUS OID to determine the current operational status of a network interface (ifOperStatus 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

NDIS handles this OID for miniport adapters and filter modules, and only NDIS network interface providers receive this OID query.

If the query succeeds, the interface provider returns NDIS_STATUS_SUCCESS, and the result of the query can be one of the values in the NET_IF_OPER_STATUS enumeration.

Requirements

Header

Ntddndis.h (include Ndis.h)

See also

NET_IF_OPER_STATUS

NDIS Network Interface OIDs