In Test/System.Windows.Forms:
[mono-project/dkf.git] / mcs / class / Mono.PEToolkit / ExeSignature.cs
blob8b9401920e55f5b770662fe6a362db1fed0e854f
2 //
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:
10 //
11 // The above copyright notice and this permission notice shall be
12 // included in all copies or substantial portions of the Software.
13 //
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>
26 namespace Mono.PEToolkit {
28 public enum ExeSignature : ushort {
30 UNKNOWN = 0,
32 /// <summary>
33 /// "MZ"
34 /// </summary>
35 /// <remarks>
36 /// IMAGE_DOS_SIGNATURE
37 /// </remarks>
38 DOS = 0x5A4D,
41 /// <summary>
42 /// "NE"
43 /// </summary>
44 /// <remarks>
45 /// IMAGE_OS2_SIGNATURE
46 /// </remarks>
47 OS2 = 0x454E,
50 /// <summary>
51 /// "LE"
52 /// </summary>
53 /// <remarks>
54 /// IMAGE_OS2_SIGNATURE_LE
55 /// </remarks>
56 OS2_LE = 0x454C,
59 /// <summary>
60 /// "LE"
61 /// </summary>
62 /// <remarks>
63 /// IMAGE_VXD_SIGNATURE
64 /// </remarks>
65 VXD = OS2_LE,
68 /// <summary>
69 /// "PE", the complete signature is "PE\0\0"
70 /// (that is, NT followed by NT2).
71 /// </summary>
72 /// <remarks>
73 /// IMAGE_NT_SIGNATURE
74 /// </remarks>
75 NT = 0x4550,
76 NT2 = 0