include: Add some missing FILE_FLAG_xxx definitions.
[wine] / include / pdhmsg.h
1 /*
2  * Performance Data Helper
3  *
4  * Copyright 2007 Hans Leidekker
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #ifndef _PDH_MSG_H_
22 #define _PDH_MSG_H_
23
24 #define PDH_CSTATUS_VALID_DATA          0x00000000
25 #define PDH_CSTATUS_NEW_DATA            0x00000001
26 #define PDH_CSTATUS_NO_MACHINE          0x800007d0
27 #define PDH_CSTATUS_NO_INSTANCE         0x800007d1
28 #define PDH_MORE_DATA                   0x800007d2
29 #define PDH_CSTATUS_ITEM_NOT_VALIDATED  0x800007d3
30 #define PDH_RETRY                       0x800007d4
31 #define PDH_NO_DATA                     0x800007d5
32 #define PDH_CALC_NEGATIVE_DENOMINATOR   0x800007d6
33 #define PDH_CALC_NEGATIVE_TIMEBASE      0x800007d7
34 #define PDH_CALC_NEGATIVE_VALUE         0x800007d8
35 #define PDH_DIALOG_CANCELLED            0x800007d9
36 #define PDH_END_OF_LOG_FILE             0x800007da
37 #define PDH_ASYNC_QUERY_TIMEOUT         0x800007db
38 #define PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE 0x800007dc
39 #define PDH_UNABLE_MAP_NAME_FILES       0x80000bd5
40 #define PDH_PLA_VALIDATION_WARNING      0x80000bf3
41 #define PDH_CSTATUS_NO_OBJECT           0xc0000bb8
42 #define PDH_CSTATUS_NO_COUNTER          0xc0000bb9
43 #define PDH_CSTATUS_INVALID_DATA        0xc0000bba
44 #define PDH_MEMORY_ALLOCATION_FAILURE   0xc0000bbb
45 #define PDH_INVALID_HANDLE              0xc0000bbc
46 #define PDH_INVALID_ARGUMENT            0xc0000bbd
47 #define PDH_FUNCTION_NOT_FOUND          0xc0000bbe
48 #define PDH_CSTATUS_NO_COUNTERNAME      0xc0000bbf
49 #define PDH_CSTATUS_BAD_COUNTERNAME     0xc0000bc0
50 #define PDH_INVALID_BUFFER              0xc0000bc1
51 #define PDH_INSUFFICIENT_BUFFER         0xc0000bc2
52 #define PDH_CANNOT_CONNECT_MACHINE      0xc0000bc3
53 #define PDH_INVALID_PATH                0xc0000bc4
54 #define PDH_INVALID_INSTANCE            0xc0000bc5
55 #define PDH_INVALID_DATA                0xc0000bc6
56 #define PDH_NO_DIALOG_DATA              0xc0000bc7
57 #define PDH_CANNOT_READ_NAME_STRINGS    0xc0000bc8
58 #define PDH_LOG_FILE_CREATE_ERROR       0xc0000bc9
59 #define PDH_LOG_FILE_OPEN_ERROR         0xc0000bca
60 #define PDH_LOG_TYPE_NOT_FOUND          0xc0000bcb
61 #define PDH_NO_MORE_DATA                0xc0000bcc
62 #define PDH_ENTRY_NOT_IN_LOG_FILE       0xc0000bcd
63 #define PDH_DATA_SOURCE_IS_LOG_FILE     0xc0000bce
64 #define PDH_DATA_SOURCE_IS_REAL_TIME    0xc0000bcf
65 #define PDH_UNABLE_READ_LOG_HEADER      0xc0000bd0
66 #define PDH_FILE_NOT_FOUND              0xc0000bd1
67 #define PDH_FILE_ALREADY_EXISTS         0xc0000bd2
68 #define PDH_NOT_IMPLEMENTED             0xc0000bd3
69 #define PDH_STRING_NOT_FOUND            0xc0000bd4
70 #define PDH_UNKNOWN_LOG_FORMAT          0xc0000bd6
71 #define PDH_UNKNOWN_LOGSVC_COMMAND      0xc0000bd7
72 #define PDH_LOGSVC_QUERY_NOT_FOUND      0xc0000bd8
73 #define PDH_LOGSVC_NOT_OPENED           0xc0000bd9
74 #define PDH_WBEM_ERROR                  0xc0000bda
75 #define PDH_ACCESS_DENIED               0xc0000bdb
76 #define PDH_LOG_FILE_TOO_SMALL          0xc0000bdc
77 #define PDH_INVALID_DATASOURCE          0xc0000bdd
78 #define PDH_INVALID_SQLDB               0xc0000bde
79 #define PDH_NO_COUNTERS                 0xc0000bdf
80 #define PDH_SQL_ALLOC_FAILED            0xc0000be0
81 #define PDH_SQL_ALLOCCON_FAILED         0xc0000be1
82 #define PDH_SQL_EXEC_DIRECT_FAILED      0xc0000be2
83 #define PDH_SQL_FETCH_FAILED            0xc0000be3
84 #define PDH_SQL_ROWCOUNT_FAILED         0xc0000be4
85 #define PDH_SQL_MORE_RESULTS_FAILED     0xc0000be5
86 #define PDH_SQL_CONNECT_FAILED          0xc0000be6
87 #define PDH_SQL_BIND_FAILED             0xc0000be7
88 #define PDH_CANNOT_CONNECT_WMI_SERVER   0xc0000be8
89 #define PDH_PLA_COLLECTION_ALREADY_RUNNING 0xc0000be9
90 #define PDH_PLA_ERROR_SCHEDULE_OVERLAP  0xc0000bea
91 #define PDH_PLA_COLLECTION_NOT_FOUND    0xc0000beb
92 #define PDH_PLA_ERROR_SCHEDULE_ELAPSED  0xc0000bec
93 #define PDH_PLA_ERROR_NOSTART           0xc0000bed
94 #define PDH_PLA_ERROR_ALREADY_EXISTS    0xc0000bee
95 #define PDH_PLA_ERROR_TYPE_MISMATCH     0xc0000bef
96 #define PDH_PLA_ERROR_FILEPATH          0xc0000bf0
97 #define PDH_PLA_SERVICE_ERROR           0xc0000bf1
98 #define PDH_PLA_VALIDATION_ERROR        0xc0000bf2
99 #define PDH_PLA_ERROR_NAME_TOO_LONG     0xc0000bf4
100 #define PDH_INVALID_SQL_LOG_FORMAT      0xc0000bf5
101 #define PDH_COUNTER_ALREADY_IN_QUERY    0xc0000bf6
102 #define PDH_BINARY_LOG_CORRUPT          0xc0000bf7
103 #define PDH_LOG_SAMPLE_TOO_SMALL        0xc0000bf8
104 #define PDH_OS_LATER_VERSION            0xc0000bf9
105 #define PDH_OS_EARLIER_VERSION          0xc0000bfa
106 #define PDH_INCORRECT_APPEND_TIME       0xc0000bfb
107 #define PDH_UNMATCHED_APPEND_COUNTER    0xc0000bfc
108 #define PDH_SQL_ALTER_DETAIL_FAILED     0xc0000bfd
109 #define PDH_QUERY_PERF_DATA_TIMEOUT     0xc0000bfe
110
111 #endif /* _PDH_MSG_H_ */