| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. |
| 2 | |
| 3 | namespace WixToolset.Dtf.Resources |
| 4 | { |
| 5 | // Silence warnings about doc-comments |
| 6 | #pragma warning disable 1591 |
| 7 | |
| 8 | using System; |
| 9 | using System.Diagnostics.CodeAnalysis; |
| 10 | |
| 11 | /// <summary> |
| 12 | /// Identifies build types of a versioned file. |
| 13 | /// </summary> |
| 14 | [Flags] |
| 15 | public enum VersionBuildTypes : int |
| 16 | { |
| 17 | None = 0x00, |
| 18 | Debug = 0x01, |
| 19 | Prerelease = 0x02, |
| 20 | Patched = 0x04, |
| 21 | PrivateBuild = 0x08, |
| 22 | InfoInferred = 0x10, |
| 23 | SpecialBuild = 0x20, |
| 24 | } |
| 25 | |
| 26 | [SuppressMessage("Microsoft.Design", "CA1027:MarkEnumsWithFlags")] |
| 27 | internal enum VersionFileOS : int |
| 28 | { |
| 29 | Unknown = 0x00000000, |
| 30 | DOS = 0x00010000, |
| 31 | OS216 = 0x00020000, |
| 32 | OS232 = 0x00030000, |
| 33 | NT = 0x00040000, |
| 34 | WINCE = 0x00050000, |
| 35 | WINDOWS16 = 0x00000001, |
| 36 | PM16 = 0x00000002, |
| 37 | PM32 = 0x00000003, |
| 38 | WINDOWS32 = 0x00000004, |
| 39 | DOS_WINDOWS16 = 0x00010001, |
| 40 | DOS_WINDOWS32 = 0x00010004, |
| 41 | OS216_PM16 = 0x00020002, |
| 42 | OS232_PM32 = 0x00030003, |
| 43 | NT_WINDOWS32 = 0x00040004, |
| 44 | } |
| 45 | |
| 46 | /// <summary> |
| 47 | /// Identifies the type of a versioned file. |
| 48 | /// </summary> |
| 49 | [SuppressMessage("Microsoft.Design", "CA1027:MarkEnumsWithFlags")] |
| 50 | public enum VersionFileType : int |
| 51 | { |
| 52 | Unknown = 0, |
| 53 | Application = 1, |
| 54 | Dll = 2, |
| 55 | Driver = 3, |
| 56 | Font = 4, |
| 57 | VirtualDevice = 5, |
| 58 | StaticLibrary = 7, |
| 59 | } |
| 60 | |
| 61 | /// <summary> |
| 62 | /// Identifies the sub-type of a versioned file. |
| 63 | /// </summary> |
| 64 | public enum VersionFileSubtype : int |
| 65 | { |
| 66 | Unknown = 0, |
| 67 | PrinterDriver = 1, |
| 68 | KeyboardDriver = 2, |
| 69 | LanguageDriver = 3, |
| 70 | DisplayDriver = 4, |
| 71 | MouseDriver = 5, |
| 72 | NetworkDriver = 6, |
| 73 | SystemDriver = 7, |
| 74 | InstallableDriver = 8, |
| 75 | SoundDriver = 9, |
| 76 | [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Comm")] |
| 77 | CommDriver = 10, |
| 78 | InputMethodDriver = 11, |
| 79 | VersionedPrinterDriver = 12, |
| 80 | RasterFont = 1, |
| 81 | VectorFont = 2, |
| 82 | TrueTypeFont = 3, |
| 83 | } |
| 84 | |
| 85 | #pragma warning restore 1591 |
| 86 | } |