Contents

controllerDidChangePowerState

Handles a notification that the network controller servicing this interface object has transitioned to a new power state.

Declaration

virtual IOReturn controllerDidChangePowerState( 
 IONetworkController *controller, 
 IOPMPowerFlagsflags, 
 UInt32stateNumber, 
 IOService *policyMaker );

Parameters

  • controller:

    The network controller object.

  • 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 has switched to.

  • policyMaker:

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

Return Value

The return value is always kIOReturnSuccess.

See Also

Miscellaneous