OID_GEN_ADMIN_STATUS

As a query, use the OID_GEN_ADMIN_STATUS OID to determine the administrative status for an interface (ifAdminStatus 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

The administrative status is the status that the system administrator requested.

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

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_ADMIN_STATUS enumeration.

Requirements

Header

Ntddndis.h (include Ndis.h)

See also

NET_IF_ADMIN_STATUS

NDIS Network Interface OIDs