SAVEACTION (Compact 7)

3/12/2014

This enumeration defines values that determine how desired states that are stored in the registry should be updated.

Syntax

typedef enum _SAVEACTION {
    POWER_DONT_SAVE = 0,
    POWER_PRE_SAVE,
    POWER_POST_SAVE,
} SAVEACTION;

Elements

  • POWER_PRE_SAVE
    Update the desired state before changing the desired state.
  • POWER_POST_SAVE
    Update the desired state only after the actual state of the wireless device has been changed successfully.
  • POWER_DONT_SAVE
    Do not change the desired state of the wireless device.

    Note

    This is useful if a device is powered down but the user's preferred setting is not updated. For example, suspending the device because of low battery situations.

Requirements

Header

wrlspwr.h

See Also

Reference

Wireless Device Power Management Enumerations