typedef struct _SYSTEM_POWER_STATE_CONTEXT
{
    union
    {
        struct
        {
            unsigned long Reserved1 : 8;
            unsigned long TargetSystemState : 4;
            unsigned long EffectiveSystemState : 4;
            unsigned long CurrentSystemState : 4;
            unsigned long IgnoreHibernationPath : 1;
            unsigned long PseudoTransition : 1;
            unsigned long Reserved2 : 10;
        };
        unsigned long ContextAsUlong;
    };
} SYSTEM_POWER_STATE_CONTEXT, *PSYSTEM_POWER_STATE_CONTEXT;