As a query, use the OID_GEN_INTERFACE_INFO OID to obtain the current state and statistics information for a network interface.
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 is an NDIS_INTERFACE_INFORMATION structure. This structure contains information that changes during the lifetime of the interface.
|Ntddndis.h (include Ndis.h)|