Muokkaa

Jaa


OID_GEN_SUPPORTED_LIST

As a query, the OID_GEN_SUPPORTED_LIST OID specifies an array of OIDs for objects that the miniport driver or a NIC supports. Objects include general, media-specific, and implementation-specific objects.

Version Information

Windows Vista and later versions of Windows
Supported.

NDIS 6.0 and later miniport drivers
Not requested.

NDIS 5.1 miniport drivers
Mandatory. See OID_GEN_SUPPORTED_LIST (NDIS 5.1).

Windows XP
Supported.

NDIS 5.1 miniport drivers
Mandatory. See OID_GEN_SUPPORTED_LIST (NDIS 5.1).

Remarks

NDIS 6.0 and later miniport drivers do not receive this OID request. NDIS handles this OID with a cached value that miniport drivers supply during initialization.

To specify the list of supported OIDs during initialization, a miniport driver sets the SupportedOidList member of the NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES structure and passes the structure to the NdisMSetMiniportAttributes function.

NDIS forwards a subset of the provided list to protocol drivers that make this query. That is, NDIS filters any supported statistics OIDs out of the list because protocol drivers never make statistics queries.

If a miniport driver lists an OID in its supported OIDs list, it must fully support the OID. That is, the miniport driver must return valid data when it responds to a query or set request for the OIDs that it includes in the list. For example, the OID_GEN_STATISTICS OID is a required OID for NDIS 6.0 and later miniport drivers. If a miniport driver does not support the statistics in hardware or software and returns incorrect statistics information, the driver cannot specify OID_GEN_STATISTICS in its supported OIDs list.

Duplicates might appear in the supported OIDs list. Drivers are not required to guarantee that there is only one entry for each OID in the list.

Requirements

Header

Ntddndis.h (include Ndis.h)

See also

OID_GEN_STATISTICS