Handling NDIS Ports Status Indications

If an NDIS port is the source of a status indication, a miniport driver should use the PortNumber member in the NDIS_STATUS_INDICATION structure to specify the source port. Miniport drivers never indicate status for inactive ports.

Miniport drivers should use the NDIS_STATUS_PORT_STATE status indication to indicate changes in the state of an NDIS port. For this status indication, miniport drivers must set the port number in the PortNumber member of the NDIS_STATUS_INDICATION structure. The StatusBuffer member of the NDIS_STATUS_INDICATION structure contains a pointer to an NDIS_PORT_STATE structure.