enum MODE

typedef enum _MODE
{
         KernelMode = 0,
         UserMode = 1,
         MaximumMode = 2
} MODE;

Windows Vista Kernel Structures