Compartir a través de


Porting MCM OID Request Handling to CoNDIS 6.0

Miniport call managers (MCMs) must service OID requests that are associated with miniport parameters and also OID requests that are associated with call manager parameters. This topic describes porting MCM OID request handling for the call manager parameters. For more information about porting OID request handling for the miniport parameters, see Porting OID Requests for CoNDIS 6.0 Miniport Drivers.

In NDIS 6.0, the NdisMCmOidRequest function replaces the NDIS 5.x NdisMCmRequest function, and the NDIS_OID_REQUEST structure replaces the NDIS_REQUEST structure.

To send an OID request to a CoNDIS client in NDIS 6.0, an MCM calls NdisMCmOidRequest and specifies a valid address family. If NdisMCmOidRequest returns NDIS_STATUS_PENDING, NDIS subsequently calls the ProtocolCoOidRequestComplete function (formerly ProtocolCoRequestComplete) of the MCM to complete the request.

To send an OID request for call manager parameters to an MCM, a CoNDIS 6.0 client specifies a valid address family when it calls NdisCoOidRequest. In this case, NDIS calls the MCM's ProtocolCoOidRequest function (formerly ProtocolCoRequest). If ProtocolCoOidRequest returns NDIS_STATUS_PENDING, the MCM must later call the NdisMCmOidRequestComplete function (formerly NdisMCmRequestComplete) to complete the operation. NDIS subsequently calls the client's ProtocolCoOidRequestComplete function (formerly ProtocolCoRequestComplete) to complete the request.

For more information about MCM OID requests, see CoNDIS MCM OID Requests.