/*
* Process Hacker -
* image subsystem
*
* Copyright (C) 2008 wj32
* Descriptions from the PE/COFF specification from Microsoft.
*
* This file is part of Process Hacker.
*
* Process Hacker is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Process Hacker is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Process Hacker. If not, see .
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace ProcessHacker.PE
{
///
/// Specifies the Windows subsystem requied to run an image.
///
public enum ImageSubsystem : ushort
{
///
/// An unknown subsystem.
///
Unknown = 0,
///
/// Device drivers and native Windows processes.
///
Native = 1,
///
/// The Windows graphical user interface (GUI) subsystem.
///
WindowsGUI = 2,
///
/// The Windows character subsystem.
///
WindowsCUI = 3,
///
/// The POSIX character subsystem.
///
POSIXCUI = 7,
///
/// Windows CE.
///
WindowsCEGUI = 9,
///
/// An Extensible Firmware Interface (EFI) application.
///
EFIApplication = 10,
///
/// An EFI driver with boot services.
///
EFIBootServiceDriver = 11,
///
/// An EFI driver with run-time services.
///
EFIRuntimeDriver = 12,
///
/// An EFI ROM image.
///
EFIROM = 13,
///
/// XBOX.
///
XBOX = 14
}
}