Enums.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Optimizer
  7. {
  8. public enum LogType
  9. {
  10. Information,
  11. Error,
  12. }
  13. public enum WindowsVersion
  14. {
  15. Unsupported,
  16. Windows7,
  17. Windows8,
  18. Windows10,
  19. WindowsServer2008,
  20. WindowsServer2012,
  21. WindowsServer2016
  22. }
  23. public enum StartupItemLocation
  24. {
  25. Folder,
  26. HKLM,
  27. HKLMWoW,
  28. HKCU
  29. }
  30. public enum StartupItemType
  31. {
  32. None,
  33. Run,
  34. RunOnce
  35. }
  36. public enum MessagerType
  37. {
  38. Error,
  39. Optimize,
  40. Startup,
  41. Restart,
  42. Hosts,
  43. Integrator
  44. }
  45. public enum DesktopItemType
  46. {
  47. Program,
  48. Folder,
  49. Link,
  50. File,
  51. Command
  52. }
  53. public enum DesktopTypePosition
  54. {
  55. Top,
  56. Middle,
  57. Bottom
  58. }
  59. public enum Theme
  60. {
  61. Zerg,
  62. Ocean,
  63. Caramel,
  64. Magma,
  65. Lime,
  66. Minimal
  67. }
  68. public enum RecycleFlag : int
  69. {
  70. SHERB_NOCONFIRMATION = 0x00000001, // No confirmation, when emptying
  71. SHERB_NOPROGRESSUI = 0x00000001, // No progress tracking window during the emptying of the recycle bin
  72. SHERB_NOSOUND = 0x00000004 // No sound when the emptying of the recycle bin is complete
  73. }
  74. }