Exporting a MiniportPnPEventNotify Function (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.

NDIS calls a miniport driver's MiniportPnPEventNotifyfunction to notify the miniport driver of the following PnP events:

  • The surprise removal of a NIC controlled by the miniport driver.

  • A change in the system's power source.

If a miniport driver does not export a MiniportPnPEventNotify function, NDIS cannot notify the driver of these PnP events.

All NDIS 5.1 and later miniport drivers must export a MiniportPnPEventNotifyfunction. In addition, all miniport drivers that have a WDM lower edge should export a MiniportPnPEventNotifyfunction.

 

 

Send comments about this topic to Microsoft