Contents

powerStateWillChangeTo

Handles a pre-change power interest notification from the network controller.

Declaration

virtual IOReturn powerStateWillChangeTo( 
 IOPMPowerFlagsflags, 
 unsigned longstateNumber, 
 IOService *policyMaker );

Parameters

  • flags:

    Flags that describe the capability of the controller in the new power state.

  • stateNumber:

    An index to a state in the network controller's power state array that the controller is switching to.

  • policyMaker:

    A reference to the network controller's policy-maker, and is also the originator of this notification.

Return Value

Returns IOPMAckImplied to indicate synchronous completion.

Overview

The controllerWillChangePowerState() method is called by this handler. Subclasses are not expected to override this method.

See Also

Miscellaneous