Exporting a MiniportDevicePnPEventNotify Function

NDIS calls a miniport driver's MiniportDevicePnPEventNotify function to notify the miniport driver of the following Plug and Play (PnP) events:

  • The surprise removal of a NIC that the miniport driver controls.

  • A change in the system's power source.

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

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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.