次の方法で共有


OID_GEN_ENUMERATE_PORTS (Compact 2013)

3/26/2014

As a query, NDIS and overlying drivers use this OID to determine the characteristics of the active NDIS ports that are associated with an underlying miniport adapter.

Remarks

NDIS handles this OID and miniport drivers do not receive this OID query.

If the query succeeds, NDIS returns NDIS_STATUS_SUCCESS and provides the results of the query in an NDIS_PORT_ARRAY structure. The NumberOfPorts member of NDIS_PORT_ARRAY contains the number of active ports that are associated with the miniport adapter. The Ports member of NDIS_PORT_ARRAY contains a list of pointers to NDIS_PORT_CHARACTERISTICS structures. Each NDIS_PORT_CHARACTERISTICS structure defines the characteristics of a single NDIS port.

Requirements

Header

ntddndis.h

See Also

Reference

NDIS 6.0 General OIDs for Miniport Drivers