Porting Protocol Driver Status Indication Handling to NDIS 6.0
In NDIS 6.0, the ProtocolStatusEx function replaces the ProtocolStatus function. Status indication parameters are packaged within an NDIS_STATUS_INDICATION structure that contains the source handle, status code, buffer, and size.
The NDIS_STATUS_INDICATION structure can also specify a request identifier that connects the indication to an OID request.
NDIS 6.0 serializes status indications for each protocol binding. To determine link status, use the status indications from underlying drivers instead of OID queries. This will improve system performance and avoid possible race conditions.
For more information about status indications in a protocol driver, see Handling Status Indications in a Protocol Driver.