typedef union _PS_CLIENT_SECURITY_CONTEXT
{
    unsigned __int64 ImpersonationData;
    void *ImpersonationToken;
    struct
    {
        unsigned __int64 ImpersonationLevel : 2;
        unsigned __int64 EffectiveOnly : 1;
    };
} PS_CLIENT_SECURITY_CONTEXT, *PPS_CLIENT_SECURITY_CONTEXT;