Bewerken

Delen via


OID_GEN_ENUMERATE_PORTS

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

Version Information

Windows Vista and later versions of Windows
Supported.

NDIS 6.0 and later miniport drivers
Not requested. (see Remarks section)

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 NDIDS port.

Requirements

Header

Ntddndis.h (include Ndis.h)

See also

NDIS_PORT_ARRAY

NDIS_PORT_CHARACTERISTICS