typedef enum _MACHINE_ATTRIBUTES {
  UserEnabled = 0x00000001,
  KernelEnabled = 0x00000002,
  Wow64Container = 0x00000004
} MACHINE_ATTRIBUTES;

typedef struct _PROCESS_MACHINE_INFORMATION {
  USHORT             ProcessMachine;
  USHORT             Res0;
  MACHINE_ATTRIBUTES MachineAttributes;
} PROCESS_MACHINE_INFORMATION;