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 | /*
|
---|
22 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
23 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
24 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
25 | * a choice of LGPL license versions is made available with the language indicating
|
---|
26 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
27 | * of the LGPL is applied is otherwise unspecified.
|
---|
28 | */
|
---|
29 |
|
---|
30 | #ifndef _PDH_MSG_H_
|
---|
31 | #define _PDH_MSG_H_
|
---|
32 |
|
---|
33 | #define PDH_CSTATUS_VALID_DATA 0x00000000
|
---|
34 | #define PDH_CSTATUS_NEW_DATA 0x00000001
|
---|
35 | #define PDH_CSTATUS_NO_MACHINE 0x800007d0
|
---|
36 | #define PDH_CSTATUS_NO_INSTANCE 0x800007d1
|
---|
37 | #define PDH_MORE_DATA 0x800007d2
|
---|
38 | #define PDH_CSTATUS_ITEM_NOT_VALIDATED 0x800007d3
|
---|
39 | #define PDH_RETRY 0x800007d4
|
---|
40 | #define PDH_NO_DATA 0x800007d5
|
---|
41 | #define PDH_CALC_NEGATIVE_DENOMINATOR 0x800007d6
|
---|
42 | #define PDH_CALC_NEGATIVE_TIMEBASE 0x800007d7
|
---|
43 | #define PDH_CALC_NEGATIVE_VALUE 0x800007d8
|
---|
44 | #define PDH_DIALOG_CANCELLED 0x800007d9
|
---|
45 | #define PDH_END_OF_LOG_FILE 0x800007da
|
---|
46 | #define PDH_ASYNC_QUERY_TIMEOUT 0x800007db
|
---|
47 | #define PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE 0x800007dc
|
---|
48 | #define PDH_UNABLE_MAP_NAME_FILES 0x80000bd5
|
---|
49 | #define PDH_PLA_VALIDATION_WARNING 0x80000bf3
|
---|
50 | #define PDH_CSTATUS_NO_OBJECT 0xc0000bb8
|
---|
51 | #define PDH_CSTATUS_NO_COUNTER 0xc0000bb9
|
---|
52 | #define PDH_CSTATUS_INVALID_DATA 0xc0000bba
|
---|
53 | #define PDH_MEMORY_ALLOCATION_FAILURE 0xc0000bbb
|
---|
54 | #define PDH_INVALID_HANDLE 0xc0000bbc
|
---|
55 | #define PDH_INVALID_ARGUMENT 0xc0000bbd
|
---|
56 | #define PDH_FUNCTION_NOT_FOUND 0xc0000bbe
|
---|
57 | #define PDH_CSTATUS_NO_COUNTERNAME 0xc0000bbf
|
---|
58 | #define PDH_CSTATUS_BAD_COUNTERNAME 0xc0000bc0
|
---|
59 | #define PDH_INVALID_BUFFER 0xc0000bc1
|
---|
60 | #define PDH_INSUFFICIENT_BUFFER 0xc0000bc2
|
---|
61 | #define PDH_CANNOT_CONNECT_MACHINE 0xc0000bc3
|
---|
62 | #define PDH_INVALID_PATH 0xc0000bc4
|
---|
63 | #define PDH_INVALID_INSTANCE 0xc0000bc5
|
---|
64 | #define PDH_INVALID_DATA 0xc0000bc6
|
---|
65 | #define PDH_NO_DIALOG_DATA 0xc0000bc7
|
---|
66 | #define PDH_CANNOT_READ_NAME_STRINGS 0xc0000bc8
|
---|
67 | #define PDH_LOG_FILE_CREATE_ERROR 0xc0000bc9
|
---|
68 | #define PDH_LOG_FILE_OPEN_ERROR 0xc0000bca
|
---|
69 | #define PDH_LOG_TYPE_NOT_FOUND 0xc0000bcb
|
---|
70 | #define PDH_NO_MORE_DATA 0xc0000bcc
|
---|
71 | #define PDH_ENTRY_NOT_IN_LOG_FILE 0xc0000bcd
|
---|
72 | #define PDH_DATA_SOURCE_IS_LOG_FILE 0xc0000bce
|
---|
73 | #define PDH_DATA_SOURCE_IS_REAL_TIME 0xc0000bcf
|
---|
74 | #define PDH_UNABLE_READ_LOG_HEADER 0xc0000bd0
|
---|
75 | #define PDH_FILE_NOT_FOUND 0xc0000bd1
|
---|
76 | #define PDH_FILE_ALREADY_EXISTS 0xc0000bd2
|
---|
77 | #define PDH_NOT_IMPLEMENTED 0xc0000bd3
|
---|
78 | #define PDH_STRING_NOT_FOUND 0xc0000bd4
|
---|
79 | #define PDH_UNKNOWN_LOG_FORMAT 0xc0000bd6
|
---|
80 | #define PDH_UNKNOWN_LOGSVC_COMMAND 0xc0000bd7
|
---|
81 | #define PDH_LOGSVC_QUERY_NOT_FOUND 0xc0000bd8
|
---|
82 | #define PDH_LOGSVC_NOT_OPENED 0xc0000bd9
|
---|
83 | #define PDH_WBEM_ERROR 0xc0000bda
|
---|
84 | #define PDH_ACCESS_DENIED 0xc0000bdb
|
---|
85 | #define PDH_LOG_FILE_TOO_SMALL 0xc0000bdc
|
---|
86 | #define PDH_INVALID_DATASOURCE 0xc0000bdd
|
---|
87 | #define PDH_INVALID_SQLDB 0xc0000bde
|
---|
88 | #define PDH_NO_COUNTERS 0xc0000bdf
|
---|
89 | #define PDH_SQL_ALLOC_FAILED 0xc0000be0
|
---|
90 | #define PDH_SQL_ALLOCCON_FAILED 0xc0000be1
|
---|
91 | #define PDH_SQL_EXEC_DIRECT_FAILED 0xc0000be2
|
---|
92 | #define PDH_SQL_FETCH_FAILED 0xc0000be3
|
---|
93 | #define PDH_SQL_ROWCOUNT_FAILED 0xc0000be4
|
---|
94 | #define PDH_SQL_MORE_RESULTS_FAILED 0xc0000be5
|
---|
95 | #define PDH_SQL_CONNECT_FAILED 0xc0000be6
|
---|
96 | #define PDH_SQL_BIND_FAILED 0xc0000be7
|
---|
97 | #define PDH_CANNOT_CONNECT_WMI_SERVER 0xc0000be8
|
---|
98 | #define PDH_PLA_COLLECTION_ALREADY_RUNNING 0xc0000be9
|
---|
99 | #define PDH_PLA_ERROR_SCHEDULE_OVERLAP 0xc0000bea
|
---|
100 | #define PDH_PLA_COLLECTION_NOT_FOUND 0xc0000beb
|
---|
101 | #define PDH_PLA_ERROR_SCHEDULE_ELAPSED 0xc0000bec
|
---|
102 | #define PDH_PLA_ERROR_NOSTART 0xc0000bed
|
---|
103 | #define PDH_PLA_ERROR_ALREADY_EXISTS 0xc0000bee
|
---|
104 | #define PDH_PLA_ERROR_TYPE_MISMATCH 0xc0000bef
|
---|
105 | #define PDH_PLA_ERROR_FILEPATH 0xc0000bf0
|
---|
106 | #define PDH_PLA_SERVICE_ERROR 0xc0000bf1
|
---|
107 | #define PDH_PLA_VALIDATION_ERROR 0xc0000bf2
|
---|
108 | #define PDH_PLA_ERROR_NAME_TOO_LONG 0xc0000bf4
|
---|
109 | #define PDH_INVALID_SQL_LOG_FORMAT 0xc0000bf5
|
---|
110 | #define PDH_COUNTER_ALREADY_IN_QUERY 0xc0000bf6
|
---|
111 | #define PDH_BINARY_LOG_CORRUPT 0xc0000bf7
|
---|
112 | #define PDH_LOG_SAMPLE_TOO_SMALL 0xc0000bf8
|
---|
113 | #define PDH_OS_LATER_VERSION 0xc0000bf9
|
---|
114 | #define PDH_OS_EARLIER_VERSION 0xc0000bfa
|
---|
115 | #define PDH_INCORRECT_APPEND_TIME 0xc0000bfb
|
---|
116 | #define PDH_UNMATCHED_APPEND_COUNTER 0xc0000bfc
|
---|
117 | #define PDH_SQL_ALTER_DETAIL_FAILED 0xc0000bfd
|
---|
118 | #define PDH_QUERY_PERF_DATA_TIMEOUT 0xc0000bfe
|
---|
119 |
|
---|
120 | #endif /* _PDH_MSG_H_ */
|
---|