2.8 Status Indications in a Protocol Driver

A protocol driver is required to supply both ProtocolStatus and ProtocolStatusComplete functions. NDIS calls ProtocolStatus when an underlying NDIS driver calls NdisMIndicateStatus to report a change in its NIC. ProtocolStatus is called when the status change begins. If the action indicated by the status message is not complete when ProtocolStatus is called, NdisMIndicateStatusComplete is subsequently called by the underlying NIC driver. When this occurs, ProtocolStatusComplete is called to carry out any postprocessing indicated by the status change. Examples of GeneralStatus reported to ProtocolStatus include: