Compartilhar via


NDIS Network Interface OIDs (Compact 2013)

3/26/2014

NDIS network interface object identifiers (OIDs) provide information about network interfaces to support the MIB (RFC 2863).

NDIS interface providers must support these OIDs. Drivers that are not registered interface providers should not support the OIDs in this section.

NDIS calls the ProviderQueryObject function to make a query request for information from the interface provider. The ObjectId parameter of this function contains the object identifier. The interface provider registered ProviderQueryObject when it called the NdisIfRegisterProvider function to register as an interface provider.

The handle at the ProviderIfContext parameter of the ProviderQueryObject function identifies the network interface. This handle was provided to NDIS when the interface provider called the NdisIfRegisterInterface function to register the interface. The pOutputBuffer parameter of the ProviderQueryObject function contains the result of the OID request.

In This Section

  • OID_GEN_ALIAS
    As a query, obtains the alias string for an interface.
  • OID_GEN_INTERFACE_INFO
    As a query, obtains the current state and statistics information for a network interface.
  • OID_GEN_LAST_CHANGE
    As a query, determines the time of the last operational state change of a network interface.

See Also

Reference

NDIS Network Interface Reference