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 
10 typedef enum _AutoPathFormat {
11   plaNone                 = 0x0000,
12   plaPattern              = 0x0001,
13   plaComputer             = 0x0002,
14   plaMonthDayHour         = 0x0100,
15   plaSerialNumber         = 0x0200,
16   plaYearDayOfYear        = 0x0400,
17   plaYearMonth            = 0x0800,
18   plaYearMonthDay         = 0x1000,
19   plaYearMonthDayHour     = 0x2000,
20   plaMonthDayHourMinute   = 0x4000
21 } AutoPathFormat;
22 
23 typedef enum _ClockType {
24   plaTimeStamp     = 0,
25   plaPerformance   = 1,
26   plaSystem        = 2,
27   plaCycle         = 3
28 } ClockType;
29 
30 typedef enum _CommitMode {
31   plaCreateNew               = 0x0001,
32   plaModify                  = 0x0002,
33   plaCreateOrModify          = 0x0003,
34   plaUpdateRunningInstance   = 0x0010,
35   plaFlushTrace              = 0x0020,
36   plaValidateOnly            = 0x1000
37 } CommitMode;
38 
39 typedef enum _FileFormat {
40   plaCommaSeparated   = 0,
41   plaTabSeparated     = 1,
42   plaSql              = 2,
43   plaBinary           = 3
44 } FileFormat;
45 
46 typedef enum _FolderActionSteps {
47   plaCreateCab      = 0x01,
48   plaDeleteData     = 0x02,
49   plaSendCab        = 0x04,
50   plaDeleteCab      = 0x08,
51   plaDeleteReport   = 0x10
52 } FolderActionSteps;
53 
54 typedef enum _ResourcePolicy {
55   plaDeleteLargest   = 0,
56   plaDeleteOldest    = 1
57 } ResourcePolicy;
58 
59 typedef enum _StreamMode {
60   plaFile        = 0x0001,
61   plaRealTime    = 0x0002,
62   plaBoth        = 0x0003,
63   plaBuffering   = 0x0004
64 } StreamMode;
65 
66 typedef enum _ValueMapType {
67   plaIndex        = 1,
68   plaFlag         = 2,
69   plaFlagArray    = 3,
70   plaValidation   = 4
71 } ValueMapType;
72 
73 typedef enum _WeekDays {
74   plaRunOnce     = 0x00,
75   plaSunday      = 0x01,
76   plaMonday      = 0x02,
77   plaTuesday     = 0x04,
78   plaWednesday   = 0x08,
79   plaThursday    = 0x10,
80   plaFriday      = 0x20,
81   plaSaturday    = 0x40,
82   plaEveryday    = 0x7F
83 } WeekDays;
84 
85 #endif /*(_WIN32_WINNT >= 0x0600)*/
86 #endif /*_INC_PLA*/
87