Share via


NDIS Support for Power Management

A Windows CE–based miniport driver requires some additional code for power management considerations. These considerations are based on whether the network card is a PC Card Network Adapters or a Built-in Network Adapters.

An NDIS miniport driver is required to set the NIC to the desired power state as a result of changes to the Power Management architecture. The driver cannot depend on a bus or ACPI driver to complete this task. If the NIC hardware loses bus configuration information the miniport driver must restore this information as well.

A miniport driver that does not implement the ResetHandler function should pass a large number for the CheckForHangInSeconds parameter in a call to NdisMSetAttributesEx. This prevents unnecessary wakeup periods in order to check for a hang in the system affecting power consumption. Alternatively, the registry entry HKEY_LOCAL_MACHINE\Comm\<Adapter Name>\Parms\CheckForHangTimeInSeconds can also be used. This registry entry overrides the default value as well as the value passed by NdisMSetAttributesEx.

See Also

Network Driver Programming Considerations | Power Manager Requests and NDIS

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.