typedef struct _POP_ACTION_TRIGGER { POWER_POLICY_DEVICE_TYPE Type; unsigned long Flags; POP_TRIGGER_WAIT *Wait; union { struct { unsigned long Level; } Battery; struct { unsigned long Type; } Button; }; } POP_ACTION_TRIGGER, *PPOP_ACTION_TRIGGER;