typedef struct _EJOB
{
    KEVENT Event;
    LIST_ENTRY JobLinks;
    LIST_ENTRY ProcessListHead;
    ERESOURCE JobLock;
    LARGE_INTEGER TotalUserTime;
    LARGE_INTEGER TotalKernelTime;
    LARGE_INTEGER ThisPeriodTotalUserTime;
    LARGE_INTEGER ThisPeriodTotalKernelTime;
    unsigned long TotalPageFaultCount;
    unsigned long TotalProcesses;
    unsigned long ActiveProcesses;
    unsigned long TotalTerminatedProcesses;
    LARGE_INTEGER PerProcessUserTimeLimit;
    LARGE_INTEGER PerJobUserTimeLimit;
    unsigned __int64 MinimumWorkingSetSize;
    unsigned __int64 MaximumWorkingSetSize;
    unsigned long LimitFlags;
    unsigned long ActiveProcessLimit;
    KAFFINITY_EX Affinity;
    unsigned char PriorityClass;
    JOB_ACCESS_STATE *AccessState;
    unsigned long UIRestrictionsClass;
    unsigned long EndOfJobTimeAction;
    void *CompletionPort;
    void *CompletionKey;
    unsigned long SessionId;
    unsigned long SchedulingClass;
    unsigned __int64 ReadOperationCount;
    unsigned __int64 WriteOperationCount;
    unsigned __int64 OtherOperationCount;
    unsigned __int64 ReadTransferCount;
    unsigned __int64 WriteTransferCount;
    unsigned __int64 OtherTransferCount;
    unsigned __int64 ProcessMemoryLimit;
    unsigned __int64 JobMemoryLimit;
    unsigned __int64 PeakProcessMemoryUsed;
    unsigned __int64 PeakJobMemoryUsed;
    unsigned __int64 CurrentJobMemoryUsed;
    EX_PUSH_LOCK MemoryLimitsLock;
    LIST_ENTRY JobSetLinks;
    unsigned long MemberLevel;
    unsigned long JobFlags;
} EJOB, *PEJOB;