A.3.6 Indicating Status

When the NIC driver needs to indicate a status change to a bound transport driver, it issues a call to NdisIndicateStatus as Figure A.3.6 shows. The NIC driver passes the NDIS binding context; its only link to the transport driver. NdisIndicateStatus forwards the call to ProtocolStatus, which interprets the general status code. Then the transport driver or the Configuration Manager can log the status change and/or take corrective action.

To stop indicating status changes, following one or more NdisIndicateStatus calls, the NIC driver calls NdisIndicateStatusComplete. This library function forwards the call to ProtocolStatusComplete so the transport driver can perform any necessary postprocessing.

Figure A.3.6 Indicating Status