Bewerken

Delen via


Querying or Setting Information

CoNDIS protocol drivers and NDIS can send OID requests to underlying drivers. CoNDIS protocol drivers and miniport call managers (MCMs) can also send OID requests to other protocol drivers.

A connection-oriented client or call manager calls NdisCoOidRequest to query or set information that is maintained by another protocol driver on a binding or by the underlying miniport driver.

Before it calls NdisCoOidRequest, a client or call manager allocates a buffer for its request and initializes an NDIS_OID_REQUEST structure. This structure specifies the type of request (query or set), identifies the information (OID) that is being queried or set, and points to buffers that are used for passing OID data.

If the connection-oriented client or call manager passes a valid NdisAfHandle (see Address Families), NDIS calls the ProtocolCoOidRequest function of each protocol driver on the binding.

NDIS defines object identifier (OID) values to identify adapter parameters, including operating parameters such as device characteristics, configurable settings, and statistics. For more information about OIDs, see NDIS OIDs.

This section includes the following topics:

CoNDIS Miniport Driver OID Requests

CoNDIS Protocol Driver OID Requests

CoNDIS MCM OID Requests