Handling a Change in the System's Power Source (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.

The system can change from battery power to AC power or vice versa.

After initializing a miniport driver, or sending the miniport driver an OID_PNP_SET_POWERrequest that specifies the fully powered on state, NDIS calls a miniport driver's MiniportPnPEventNotifyfunction to notify the miniport driver of the system's power source. The miniport driver can use this information to adjust the power consumption of its NIC. For example, the miniport driver for a wireless LAN device could reduce power consumption if the system is running on battery power or increase power consumption if the system is running on AC power.

 

 

Send comments about this topic to Microsoft