Share via


Set and Query Requests (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.

TAPI requests are passed to the NDIS WAN miniport driver as OID_TAPI_XXX requests with an associated structure that describes the action to be taken. The NdisRequestQueryInformation request type is specified in a call to NdisRequestwhen the miniport driver should pass information back to the caller. The NdisRequestSetInformation request type is specified for requests that do not return any information other than completion status. NDIS routes NdisRequestcalls from NDISWAN to the target miniport driver's MiniportQueryInformationfunction or MiniportSetInformationfunction.

All requests sent to an NDIS WAN miniport driver by the NDISTAPI driver can be completed either synchronously or asynchronously. If a NIC driver determines that it cannot complete the request immediately, then it can simply return NDIS_STATUS_PENDING and call NdisMQueryInformationCompleteor NdisMSetInformationCompletewhen it has completed the request.

 

 

Send comments about this topic to Microsoft