Setting NDIS WAN Miniport Driver Information (NDIS 5.1)

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

An upper-layer driver calls NdisRequestwith a set request to change information that an NDIS WAN miniport driver and the miniport driver's NIC maintain.

The NDISWAN intermediate driver forwards the set request, which causes NDIS to call the miniport driver's MiniportSetInformationfunction. In an NDIS WAN miniport driver, this function is the same as in a non-WAN connectionless miniport driver, except that the WAN miniport driver recognizes standard WAN OIDs. For more information about standard WAN OIDs, see Standard WAN Objects.

If the miniport driver does not complete the set request immediately, it returns NDIS_STATUS_PENDING from MiniportSetInformationand must later call NdisMSetInformationCompleteto complete the request.

An NDIS WAN miniport driver must recognize and respond properly to NDIS WAN set OIDs. The following table summarizes the standard WAN set OIDs.

Name Optional or Required
OID_WAN_SET_LINK_INFO Set link information

Required

 

An NDIS WAN miniport driver also supports the NDIS General Objects. To learn more about setting information in a miniport driver, see Setting Information for a Connectionless Miniport Driver.

 

 

Send comments about this topic to Microsoft