pla.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef _INC_PLA
  7. #define _INC_PLA
  8. #if (_WIN32_WINNT >= 0x0600)
  9. typedef enum _AutoPathFormat {
  10. plaNone = 0x0000,
  11. plaPattern = 0x0001,
  12. plaComputer = 0x0002,
  13. plaMonthDayHour = 0x0100,
  14. plaSerialNumber = 0x0200,
  15. plaYearDayOfYear = 0x0400,
  16. plaYearMonth = 0x0800,
  17. plaYearMonthDay = 0x1000,
  18. plaYearMonthDayHour = 0x2000,
  19. plaMonthDayHourMinute = 0x4000
  20. } AutoPathFormat;
  21. typedef enum _ClockType {
  22. plaTimeStamp = 0,
  23. plaPerformance = 1,
  24. plaSystem = 2,
  25. plaCycle = 3
  26. } ClockType;
  27. typedef enum _CommitMode {
  28. plaCreateNew = 0x0001,
  29. plaModify = 0x0002,
  30. plaCreateOrModify = 0x0003,
  31. plaUpdateRunningInstance = 0x0010,
  32. plaFlushTrace = 0x0020,
  33. plaValidateOnly = 0x1000
  34. } CommitMode;
  35. typedef enum _FileFormat {
  36. plaCommaSeparated = 0,
  37. plaTabSeparated = 1,
  38. plaSql = 2,
  39. plaBinary = 3
  40. } FileFormat;
  41. typedef enum _FolderActionSteps {
  42. plaCreateCab = 0x01,
  43. plaDeleteData = 0x02,
  44. plaSendCab = 0x04,
  45. plaDeleteCab = 0x08,
  46. plaDeleteReport = 0x10
  47. } FolderActionSteps;
  48. typedef enum _ResourcePolicy {
  49. plaDeleteLargest = 0,
  50. plaDeleteOldest = 1
  51. } ResourcePolicy;
  52. typedef enum _StreamMode {
  53. plaFile = 0x0001,
  54. plaRealTime = 0x0002,
  55. plaBoth = 0x0003,
  56. plaBuffering = 0x0004
  57. } StreamMode;
  58. typedef enum _ValueMapType {
  59. plaIndex = 1,
  60. plaFlag = 2,
  61. plaFlagArray = 3,
  62. plaValidation = 4
  63. } ValueMapType;
  64. typedef enum _WeekDays {
  65. plaRunOnce = 0x00,
  66. plaSunday = 0x01,
  67. plaMonday = 0x02,
  68. plaTuesday = 0x04,
  69. plaWednesday = 0x08,
  70. plaThursday = 0x10,
  71. plaFriday = 0x20,
  72. plaSaturday = 0x40,
  73. plaEveryday = 0x7F
  74. } WeekDays;
  75. #endif /*(_WIN32_WINNT >= 0x0600)*/
  76. #endif /*_INC_PLA*/