3 // Permission is hereby granted, free of charge, to any person obtaining
4 // a copy of this software and associated documentation files (the
5 // "Software"), to deal in the Software without restriction, including
6 // without limitation the rights to use, copy, modify, merge, publish,
7 // distribute, sublicense, and/or sell copies of the Software, and to
8 // permit persons to whom the Software is furnished to do so, subject to
9 // the following conditions:
11 // The above copyright notice and this permission notice shall be
12 // included in all copies or substantial portions of the Software.
14 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 * Copyright (c) 2002 Sergey Chaban <serge@wildwestsoftware.com>
\r
26 namespace Mono.PEToolkit {
\r
30 public enum Subsystem : short {
\r
33 /// Unknown subsystem.
\r
36 /// IMAGE_SUBSYSTEM_UNKNOWN
\r
41 /// Image doesn't require a subsystem.
\r
44 /// IMAGE_SUBSYSTEM_NATIVE
\r
49 /// Image runs in the Windows GUI subsystem.
\r
52 /// IMAGE_SUBSYSTEM_WINDOWS_GUI
\r
57 /// Image runs in the Windows character subsystem.
\r
60 /// IMAGE_SUBSYSTEM_WINDOWS_CUI
\r
65 /// Image runs in the OS/2 character subsystem.
\r
68 /// IMAGE_SUBSYSTEM_OS2_CUI
\r
73 /// Image runs in the Posix character subsystem.
\r
76 /// IMAGE_SUBSYSTEM_POSIX_CUI
\r
81 /// Image is a native Win9x driver.
\r
84 /// IMAGE_SUBSYSTEM_NATIVE_WINDOWS
\r
89 /// Image runs in the Windows CE subsystem.
\r
92 /// IMAGE_SUBSYSTEM_WINDOWS_CE_GUI
\r
99 /// IMAGE_SUBSYSTEM_EFI_APPLICATION
\r
101 EFI_APPLICATION = 10,
\r
106 /// IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER
\r
108 EFI_BOOT_SERVICE_DRIVER = 11,
\r
113 /// IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER
\r
115 EFI_RUNTIME_DRIVER = 12,
\r
120 /// IMAGE_SUBSYSTEM_EFI_ROM
\r
127 /// IMAGE_SUBSYSTEM_XBOX
\r