source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/pdhmsg.h@ 1170

Last change on this file since 1170 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 4.8 KB
Line 
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 _PDH_MSG_H_
7#define _PDH_MSG_H_
8
9#define STATUS_SEVERITY_WARNING 0x2
10#define STATUS_SEVERITY_SUCCESS 0x0
11#define STATUS_SEVERITY_INFORMATIONAL 0x1
12#define STATUS_SEVERITY_ERROR 0x3
13
14#define PDH_CSTATUS_VALID_DATA ((DWORD)0x00000000)
15#define PDH_CSTATUS_NEW_DATA ((DWORD)0x00000001)
16#define PDH_CSTATUS_NO_MACHINE ((DWORD)0x800007D0)
17#define PDH_CSTATUS_NO_INSTANCE ((DWORD)0x800007D1)
18#define PDH_MORE_DATA ((DWORD)0x800007D2)
19#define PDH_CSTATUS_ITEM_NOT_VALIDATED ((DWORD)0x800007D3)
20#define PDH_RETRY ((DWORD)0x800007D4)
21#define PDH_NO_DATA ((DWORD)0x800007D5)
22#define PDH_CALC_NEGATIVE_DENOMINATOR ((DWORD)0x800007D6)
23#define PDH_CALC_NEGATIVE_TIMEBASE ((DWORD)0x800007D7)
24#define PDH_CALC_NEGATIVE_VALUE ((DWORD)0x800007D8)
25#define PDH_DIALOG_CANCELLED ((DWORD)0x800007D9)
26#define PDH_END_OF_LOG_FILE ((DWORD)0x800007DA)
27#define PDH_ASYNC_QUERY_TIMEOUT ((DWORD)0x800007DB)
28#define PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE ((DWORD)0x800007DC)
29#define PDH_CSTATUS_NO_OBJECT ((DWORD)0xC0000BB8)
30#define PDH_CSTATUS_NO_COUNTER ((DWORD)0xC0000BB9)
31#define PDH_CSTATUS_INVALID_DATA ((DWORD)0xC0000BBA)
32#define PDH_MEMORY_ALLOCATION_FAILURE ((DWORD)0xC0000BBB)
33#define PDH_INVALID_HANDLE ((DWORD)0xC0000BBC)
34#define PDH_INVALID_ARGUMENT ((DWORD)0xC0000BBD)
35#define PDH_FUNCTION_NOT_FOUND ((DWORD)0xC0000BBE)
36#define PDH_CSTATUS_NO_COUNTERNAME ((DWORD)0xC0000BBF)
37#define PDH_CSTATUS_BAD_COUNTERNAME ((DWORD)0xC0000BC0)
38#define PDH_INVALID_BUFFER ((DWORD)0xC0000BC1)
39#define PDH_INSUFFICIENT_BUFFER ((DWORD)0xC0000BC2)
40#define PDH_CANNOT_CONNECT_MACHINE ((DWORD)0xC0000BC3)
41#define PDH_INVALID_PATH ((DWORD)0xC0000BC4)
42#define PDH_INVALID_INSTANCE ((DWORD)0xC0000BC5)
43#define PDH_INVALID_DATA ((DWORD)0xC0000BC6)
44#define PDH_NO_DIALOG_DATA ((DWORD)0xC0000BC7)
45#define PDH_CANNOT_READ_NAME_STRINGS ((DWORD)0xC0000BC8)
46#define PDH_LOG_FILE_CREATE_ERROR ((DWORD)0xC0000BC9)
47#define PDH_LOG_FILE_OPEN_ERROR ((DWORD)0xC0000BCA)
48#define PDH_LOG_TYPE_NOT_FOUND ((DWORD)0xC0000BCB)
49#define PDH_NO_MORE_DATA ((DWORD)0xC0000BCC)
50#define PDH_ENTRY_NOT_IN_LOG_FILE ((DWORD)0xC0000BCD)
51#define PDH_DATA_SOURCE_IS_LOG_FILE ((DWORD)0xC0000BCE)
52#define PDH_DATA_SOURCE_IS_REAL_TIME ((DWORD)0xC0000BCF)
53#define PDH_UNABLE_READ_LOG_HEADER ((DWORD)0xC0000BD0)
54#define PDH_FILE_NOT_FOUND ((DWORD)0xC0000BD1)
55#define PDH_FILE_ALREADY_EXISTS ((DWORD)0xC0000BD2)
56#define PDH_NOT_IMPLEMENTED ((DWORD)0xC0000BD3)
57#define PDH_STRING_NOT_FOUND ((DWORD)0xC0000BD4)
58#define PDH_UNABLE_MAP_NAME_FILES ((DWORD)0x80000BD5)
59#define PDH_UNKNOWN_LOG_FORMAT ((DWORD)0xC0000BD6)
60#define PDH_UNKNOWN_LOGSVC_COMMAND ((DWORD)0xC0000BD7)
61#define PDH_LOGSVC_QUERY_NOT_FOUND ((DWORD)0xC0000BD8)
62#define PDH_LOGSVC_NOT_OPENED ((DWORD)0xC0000BD9)
63#define PDH_WBEM_ERROR ((DWORD)0xC0000BDA)
64#define PDH_ACCESS_DENIED ((DWORD)0xC0000BDB)
65#define PDH_LOG_FILE_TOO_SMALL ((DWORD)0xC0000BDC)
66#define PDH_INVALID_DATASOURCE ((DWORD)0xC0000BDD)
67#define PDH_INVALID_SQLDB ((DWORD)0xC0000BDE)
68#define PDH_NO_COUNTERS ((DWORD)0xC0000BDF)
69#define PDH_SQL_ALLOC_FAILED ((DWORD)0xC0000BE0)
70#define PDH_SQL_ALLOCCON_FAILED ((DWORD)0xC0000BE1)
71#define PDH_SQL_EXEC_DIRECT_FAILED ((DWORD)0xC0000BE2)
72#define PDH_SQL_FETCH_FAILED ((DWORD)0xC0000BE3)
73#define PDH_SQL_ROWCOUNT_FAILED ((DWORD)0xC0000BE4)
74#define PDH_SQL_MORE_RESULTS_FAILED ((DWORD)0xC0000BE5)
75#define PDH_SQL_CONNECT_FAILED ((DWORD)0xC0000BE6)
76#define PDH_SQL_BIND_FAILED ((DWORD)0xC0000BE7)
77#define PDH_CANNOT_CONNECT_WMI_SERVER ((DWORD)0xC0000BE8)
78#define PDH_PLA_COLLECTION_ALREADY_RUNNING ((DWORD)0xC0000BE9)
79#define PDH_PLA_ERROR_SCHEDULE_OVERLAP ((DWORD)0xC0000BEA)
80#define PDH_PLA_COLLECTION_NOT_FOUND ((DWORD)0xC0000BEB)
81#define PDH_PLA_ERROR_SCHEDULE_ELAPSED ((DWORD)0xC0000BEC)
82#define PDH_PLA_ERROR_NOSTART ((DWORD)0xC0000BED)
83#define PDH_PLA_ERROR_ALREADY_EXISTS ((DWORD)0xC0000BEE)
84#define PDH_PLA_ERROR_TYPE_MISMATCH ((DWORD)0xC0000BEF)
85#define PDH_PLA_ERROR_FILEPATH ((DWORD)0xC0000BF0)
86#define PDH_PLA_SERVICE_ERROR ((DWORD)0xC0000BF1)
87#define PDH_PLA_VALIDATION_ERROR ((DWORD)0xC0000BF2)
88#define PDH_PLA_VALIDATION_WARNING ((DWORD)0x80000BF3)
89#define PDH_PLA_ERROR_NAME_TOO_LONG ((DWORD)0xC0000BF4)
90#define PDH_INVALID_SQL_LOG_FORMAT ((DWORD)0xC0000BF5)
91#define PDH_COUNTER_ALREADY_IN_QUERY ((DWORD)0xC0000BF6)
92#define PDH_BINARY_LOG_CORRUPT ((DWORD)0xC0000BF7)
93#define PDH_LOG_SAMPLE_TOO_SMALL ((DWORD)0xC0000BF8)
94#define PDH_OS_LATER_VERSION ((DWORD)0xC0000BF9)
95#define PDH_OS_EARLIER_VERSION ((DWORD)0xC0000BFA)
96#define PDH_INCORRECT_APPEND_TIME ((DWORD)0xC0000BFB)
97#define PDH_UNMATCHED_APPEND_COUNTER ((DWORD)0xC0000BFC)
98#define PDH_SQL_ALTER_DETAIL_FAILED ((DWORD)0xC0000BFD)
99#define PDH_QUERY_PERF_DATA_TIMEOUT ((DWORD)0xC0000BFE)
100
101#endif
Note: See TracBrowser for help on using the repository browser.