1
{******************************************************************************}
3
{ Performance Data Helper Error Codes API interface Unit for Object Pascal }
5
{ Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft }
6
{ Corporation. All Rights Reserved. }
8
{ The original file is: pdhmsg.h, released August 2001. The original Pascal }
9
{ code is: PdhMsg.pas, released December 2000. The initial developer of the }
10
{ Pascal code is Marcel van Brakel (brakelm att chello dott nl). }
12
{ Portions created by Marcel van Brakel are Copyright (C) 1999-2001 }
13
{ Marcel van Brakel. All Rights Reserved. }
15
{ Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI) }
17
{ You may retrieve the latest version of this file at the Project JEDI }
18
{ APILIB home page, located at http://jedi-apilib.sourceforge.net }
20
{ The contents of this file are used with permission, subject to the Mozilla }
21
{ Public License Version 1.1 (the "License"); you may not use this file except }
22
{ in compliance with the License. You may obtain a copy of the License at }
23
{ http://www.mozilla.org/MPL/MPL-1.1.html }
25
{ Software distributed under the License is distributed on an "AS IS" basis, }
26
{ WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
27
{ the specific language governing rights and limitations under the License. }
29
{ Alternatively, the contents of this file may be used under the terms of the }
30
{ GNU Lesser General Public License (the "LGPL License"), in which case the }
31
{ provisions of the LGPL License are applicable instead of those above. }
32
{ If you wish to allow use of your version of this file only under the terms }
33
{ of the LGPL License and not to allow others to use your version of this file }
34
{ under the MPL, indicate your decision by deleting the provisions above and }
35
{ replace them with the notice and other provisions required by the LGPL }
36
{ License. If you do not delete the provisions above, a recipient may use }
37
{ your version of this file under either the MPL or the LGPL License. }
39
{ For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
41
{******************************************************************************}
43
// $Id: JwaPdhMsg.pas,v 1.9 2007/09/14 06:48:46 marquardt Exp $
44
{$IFNDEF JWA_OMIT_SECTIONS}
48
{$ENDIF JWA_OMIT_SECTIONS}
51
{$HPPEMIT '#include "pdhmsg.h"'}
54
{$IFNDEF JWA_OMIT_SECTIONS}
61
{$ENDIF JWA_OMIT_SECTIONS}
63
{$IFNDEF JWA_IMPLEMENTATIONSECTION}
70
// the Win32 error value ERROR_SUCCESS is used for success returns
72
// MESSAGE NAME FORMAT
74
// PDH_CSTATUS_... messages are data item status message and
75
// are returned in reference to the status of a data
77
// PDH_... messages are returned by FUNCTIONS only and
78
// not used as data item status values
81
// These messages are normally returned when the operation completed
85
// Values are 32 bit values layed out as follows:
87
// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
88
// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
89
// +---+-+-+-----------------------+-------------------------------+
90
// |Sev|C|R| Facility | Code |
91
// +---+-+-+-----------------------+-------------------------------+
95
// Sev - is the severity code
102
// C - is the Customer code flag
104
// R - is a reserved bit
106
// Facility - is the facility code
108
// Code - is the facility's status code
111
// Define the facility codes
116
// Define the severity codes
118
{$IFNDEF JWA_INCLUDEMODE}
119
STATUS_SEVERITY_WARNING = $2;
120
{$EXTERNALSYM STATUS_SEVERITY_WARNING}
121
STATUS_SEVERITY_SUCCESS = $0;
122
{$EXTERNALSYM STATUS_SEVERITY_SUCCESS}
123
STATUS_SEVERITY_INFORMATIONAL = $1;
124
{$EXTERNALSYM STATUS_SEVERITY_INFORMATIONAL}
125
STATUS_SEVERITY_ERROR = $3;
126
{$EXTERNALSYM STATUS_SEVERITY_ERROR}
127
{$ENDIF JWA_INCLUDEMODE}
130
// MessageId: PDH_CSTATUS_VALID_DATA
134
// The returned data is valid.
137
PDH_CSTATUS_VALID_DATA = DWORD($00000000);
138
{$EXTERNALSYM PDH_CSTATUS_VALID_DATA}
141
// MessageId: PDH_CSTATUS_NEW_DATA
145
// The return data value is valid and different from the last sample.
148
PDH_CSTATUS_NEW_DATA = DWORD($00000001);
149
{$EXTERNALSYM PDH_CSTATUS_NEW_DATA}
152
// Informational messages
157
// These messages are returned when the function has completed
158
// successfully but the results may be different than expected.
161
// MessageId: PDH_CSTATUS_NO_MACHINE
165
// Unable to connect to specified machine or machine is off line.
168
PDH_CSTATUS_NO_MACHINE = DWORD($800007D0);
169
{$EXTERNALSYM PDH_CSTATUS_NO_MACHINE}
172
// MessageId: PDH_CSTATUS_NO_INSTANCE
176
// The specified instance is not present.
179
PDH_CSTATUS_NO_INSTANCE = DWORD($800007D1);
180
{$EXTERNALSYM PDH_CSTATUS_NO_INSTANCE}
183
// MessageId: PDH_MORE_DATA
187
// There is more data to return than would fit in the supplied buffer. Allocate
188
// a larger buffer and call the function again.
191
PDH_MORE_DATA = DWORD($800007D2);
192
{$EXTERNALSYM PDH_MORE_DATA}
195
// MessageId: PDH_CSTATUS_ITEM_NOT_VALIDATED
199
// The data item has been added to the query, but has not been validated nor
200
// accessed. No other status information on this data item is available.
203
PDH_CSTATUS_ITEM_NOT_VALIDATED = DWORD($800007D3);
204
{$EXTERNALSYM PDH_CSTATUS_ITEM_NOT_VALIDATED}
207
// MessageId: PDH_RETRY
211
// The selected operation should be retried.
214
PDH_RETRY = DWORD($800007D4);
215
{$EXTERNALSYM PDH_RETRY}
218
// MessageId: PDH_NO_DATA
222
// No data to return.
225
PDH_NO_DATA = DWORD($800007D5);
226
{$EXTERNALSYM PDH_NO_DATA}
229
// MessageId: PDH_CALC_NEGATIVE_DENOMINATOR
233
// A counter with a negative denominator value was detected.
236
PDH_CALC_NEGATIVE_DENOMINATOR = DWORD($800007D6);
237
{$EXTERNALSYM PDH_CALC_NEGATIVE_DENOMINATOR}
240
// MessageId: PDH_CALC_NEGATIVE_TIMEBASE
244
// A counter with a negative timebase value was detected.
247
PDH_CALC_NEGATIVE_TIMEBASE = DWORD($800007D7);
248
{$EXTERNALSYM PDH_CALC_NEGATIVE_TIMEBASE}
251
// MessageId: PDH_CALC_NEGATIVE_VALUE
255
// A counter with a negative value was detected.
258
PDH_CALC_NEGATIVE_VALUE = DWORD($800007D8);
259
{$EXTERNALSYM PDH_CALC_NEGATIVE_VALUE}
262
// MessageId: PDH_DIALOG_CANCELLED
266
// The user cancelled the dialog box.
269
PDH_DIALOG_CANCELLED = DWORD($800007D9);
270
{$EXTERNALSYM PDH_DIALOG_CANCELLED}
273
// MessageId: PDH_END_OF_LOG_FILE
277
// The end of the log file was reached.
280
PDH_END_OF_LOG_FILE = DWORD($800007DA);
281
{$EXTERNALSYM PDH_END_OF_LOG_FILE}
284
// MessageId: PDH_ASYNC_QUERY_TIMEOUT
288
// Time out while waiting for asynchronous counter collection thread to end.
291
PDH_ASYNC_QUERY_TIMEOUT = DWORD($800007DB);
292
{$EXTERNALSYM PDH_ASYNC_QUERY_TIMEOUT}
295
// MessageId: PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE
299
// Cannot change default real-time data source. There are real-time query
300
// sessions collecting counter data.
303
PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE = DWORD($800007DC);
304
{$EXTERNALSYM PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE}
308
// These messages are returned when the function could not complete
309
// as requested and some corrective action may be required by the
310
// the caller or the user.
313
// MessageId: PDH_CSTATUS_NO_OBJECT
317
// The specified object is not found on the system.
320
PDH_CSTATUS_NO_OBJECT = DWORD($C0000BB8);
321
{$EXTERNALSYM PDH_CSTATUS_NO_OBJECT}
324
// MessageId: PDH_CSTATUS_NO_COUNTER
328
// The specified counter could not be found.
331
PDH_CSTATUS_NO_COUNTER = DWORD($C0000BB9);
332
{$EXTERNALSYM PDH_CSTATUS_NO_COUNTER}
335
// MessageId: PDH_CSTATUS_INVALID_DATA
339
// The returned data is not valid.
342
PDH_CSTATUS_INVALID_DATA = DWORD($C0000BBA);
343
{$EXTERNALSYM PDH_CSTATUS_INVALID_DATA}
346
// MessageId: PDH_MEMORY_ALLOCATION_FAILURE
350
// A PDH function could not allocate enough temporary memory to complete the
351
// operation. Close some applications or extend the pagefile and retry the
355
PDH_MEMORY_ALLOCATION_FAILURE = DWORD($C0000BBB);
356
{$EXTERNALSYM PDH_MEMORY_ALLOCATION_FAILURE}
359
// MessageId: PDH_INVALID_HANDLE
363
// The handle is not a valid PDH object.
366
PDH_INVALID_HANDLE = DWORD($C0000BBC);
367
{$EXTERNALSYM PDH_INVALID_HANDLE}
370
// MessageId: PDH_INVALID_ARGUMENT
374
// A required argument is missing or incorrect.
377
PDH_INVALID_ARGUMENT = DWORD($C0000BBD);
378
{$EXTERNALSYM PDH_INVALID_ARGUMENT}
381
// MessageId: PDH_FUNCTION_NOT_FOUND
385
// Unable to find the specified function.
388
PDH_FUNCTION_NOT_FOUND = DWORD($C0000BBE);
389
{$EXTERNALSYM PDH_FUNCTION_NOT_FOUND}
392
// MessageId: PDH_CSTATUS_NO_COUNTERNAME
396
// No counter was specified.
399
PDH_CSTATUS_NO_COUNTERNAME = DWORD($C0000BBF);
400
{$EXTERNALSYM PDH_CSTATUS_NO_COUNTERNAME}
403
// MessageId: PDH_CSTATUS_BAD_COUNTERNAME
407
// Unable to parse the counter path. Check the format and syntax of the
411
PDH_CSTATUS_BAD_COUNTERNAME = DWORD($C0000BC0);
412
{$EXTERNALSYM PDH_CSTATUS_BAD_COUNTERNAME}
415
// MessageId: PDH_INVALID_BUFFER
419
// The buffer passed by the caller is invalid.
422
PDH_INVALID_BUFFER = DWORD($C0000BC1);
423
{$EXTERNALSYM PDH_INVALID_BUFFER}
426
// MessageId: PDH_INSUFFICIENT_BUFFER
430
// The requested data is larger than the buffer supplied. Unable to return the
434
PDH_INSUFFICIENT_BUFFER = DWORD($C0000BC2);
435
{$EXTERNALSYM PDH_INSUFFICIENT_BUFFER}
438
// MessageId: PDH_CANNOT_CONNECT_MACHINE
442
// Unable to connect to the requested machine.
445
PDH_CANNOT_CONNECT_MACHINE = DWORD($C0000BC3);
446
{$EXTERNALSYM PDH_CANNOT_CONNECT_MACHINE}
449
// MessageId: PDH_INVALID_PATH
453
// The specified counter path could not be interpreted.
456
PDH_INVALID_PATH = DWORD($C0000BC4);
457
{$EXTERNALSYM PDH_INVALID_PATH}
460
// MessageId: PDH_INVALID_INSTANCE
464
// The instance name could not be read from the specified counter path.
467
PDH_INVALID_INSTANCE = DWORD($C0000BC5);
468
{$EXTERNALSYM PDH_INVALID_INSTANCE}
471
// MessageId: PDH_INVALID_DATA
475
// The data is not valid.
478
PDH_INVALID_DATA = DWORD($C0000BC6);
479
{$EXTERNALSYM PDH_INVALID_DATA}
482
// MessageId: PDH_NO_DIALOG_DATA
486
// The dialog box data block was missing or invalid.
489
PDH_NO_DIALOG_DATA = DWORD($C0000BC7);
490
{$EXTERNALSYM PDH_NO_DIALOG_DATA}
493
// MessageId: PDH_CANNOT_READ_NAME_STRINGS
497
// Unable to read the counter and/or explain text from the specified machine.
500
PDH_CANNOT_READ_NAME_STRINGS = DWORD($C0000BC8);
501
{$EXTERNALSYM PDH_CANNOT_READ_NAME_STRINGS}
504
// MessageId: PDH_LOG_FILE_CREATE_ERROR
508
// Unable to create the specified log file.
511
PDH_LOG_FILE_CREATE_ERROR = DWORD($C0000BC9);
512
{$EXTERNALSYM PDH_LOG_FILE_CREATE_ERROR}
515
// MessageId: PDH_LOG_FILE_OPEN_ERROR
519
// Unable to open the specified log file.
522
PDH_LOG_FILE_OPEN_ERROR = DWORD($C0000BCA);
523
{$EXTERNALSYM PDH_LOG_FILE_OPEN_ERROR}
526
// MessageId: PDH_LOG_TYPE_NOT_FOUND
530
// The specified log file type has not been installed on this system.
533
PDH_LOG_TYPE_NOT_FOUND = DWORD($C0000BCB);
534
{$EXTERNALSYM PDH_LOG_TYPE_NOT_FOUND}
537
// MessageId: PDH_NO_MORE_DATA
541
// No more data is available.
544
PDH_NO_MORE_DATA = DWORD($C0000BCC);
545
{$EXTERNALSYM PDH_NO_MORE_DATA}
548
// MessageId: PDH_ENTRY_NOT_IN_LOG_FILE
552
// The specified record was not found in the log file.
555
PDH_ENTRY_NOT_IN_LOG_FILE = DWORD($C0000BCD);
556
{$EXTERNALSYM PDH_ENTRY_NOT_IN_LOG_FILE}
559
// MessageId: PDH_DATA_SOURCE_IS_LOG_FILE
563
// The specified data source is a log file.
566
PDH_DATA_SOURCE_IS_LOG_FILE = DWORD($C0000BCE);
567
{$EXTERNALSYM PDH_DATA_SOURCE_IS_LOG_FILE}
570
// MessageId: PDH_DATA_SOURCE_IS_REAL_TIME
574
// The specified data source is the current activity.
577
PDH_DATA_SOURCE_IS_REAL_TIME = DWORD($C0000BCF);
578
{$EXTERNALSYM PDH_DATA_SOURCE_IS_REAL_TIME}
581
// MessageId: PDH_UNABLE_READ_LOG_HEADER
585
// The log file header could not be read.
588
PDH_UNABLE_READ_LOG_HEADER = DWORD($C0000BD0);
589
{$EXTERNALSYM PDH_UNABLE_READ_LOG_HEADER}
592
// MessageId: PDH_FILE_NOT_FOUND
596
// Unable to find the specified file.
599
PDH_FILE_NOT_FOUND = DWORD($C0000BD1);
600
{$EXTERNALSYM PDH_FILE_NOT_FOUND}
603
// MessageId: PDH_FILE_ALREADY_EXISTS
607
// There is already a file with the specified file name.
610
PDH_FILE_ALREADY_EXISTS = DWORD($C0000BD2);
611
{$EXTERNALSYM PDH_FILE_ALREADY_EXISTS}
614
// MessageId: PDH_NOT_IMPLEMENTED
618
// The function referenced has not been implemented.
621
PDH_NOT_IMPLEMENTED = DWORD($C0000BD3);
622
{$EXTERNALSYM PDH_NOT_IMPLEMENTED}
625
// MessageId: PDH_STRING_NOT_FOUND
629
// Unable to find the specified string in the list of performance name and
630
// explain text strings.
633
PDH_STRING_NOT_FOUND = DWORD($C0000BD4);
634
{$EXTERNALSYM PDH_STRING_NOT_FOUND}
637
// MessageId: PDH_UNABLE_MAP_NAME_FILES
641
// Unable to map to the performance counter name data files. The data
642
// will be read from the registry and stored locally.
645
PDH_UNABLE_MAP_NAME_FILES = DWORD($80000BD5);
646
{$EXTERNALSYM PDH_UNABLE_MAP_NAME_FILES}
649
// MessageId: PDH_UNKNOWN_LOG_FORMAT
653
// The format of the specified log file is not recognized by the PDH DLL.
656
PDH_UNKNOWN_LOG_FORMAT = DWORD($C0000BD6);
657
{$EXTERNALSYM PDH_UNKNOWN_LOG_FORMAT}
660
// MessageId: PDH_UNKNOWN_LOGSVC_COMMAND
664
// The specified Log Service command value is not recognized.
667
PDH_UNKNOWN_LOGSVC_COMMAND = DWORD($C0000BD7);
668
{$EXTERNALSYM PDH_UNKNOWN_LOGSVC_COMMAND}
671
// MessageId: PDH_LOGSVC_QUERY_NOT_FOUND
675
// The specified Query from the Log Service could not be found or could not
679
PDH_LOGSVC_QUERY_NOT_FOUND = DWORD($C0000BD8);
680
{$EXTERNALSYM PDH_LOGSVC_QUERY_NOT_FOUND}
683
// MessageId: PDH_LOGSVC_NOT_OPENED
687
// The Performance Data Log Service key could not be opened. This may be due
688
// to insufficient privilege or because the service has not been installed.
691
PDH_LOGSVC_NOT_OPENED = DWORD($C0000BD9);
692
{$EXTERNALSYM PDH_LOGSVC_NOT_OPENED}
695
// MessageId: PDH_WBEM_ERROR
699
// An error occurred while accessing the WBEM data store.
702
PDH_WBEM_ERROR = DWORD($C0000BDA);
703
{$EXTERNALSYM PDH_WBEM_ERROR}
706
// MessageId: PDH_ACCESS_DENIED
710
// Unable to access the desired machine or service. Check the permissions and
711
// authentication of the log service or the interactive user session against
712
// those on the machine or service being monitored.
715
PDH_ACCESS_DENIED = DWORD($C0000BDB);
716
{$EXTERNALSYM PDH_ACCESS_DENIED}
719
// MessageId: PDH_LOG_FILE_TOO_SMALL
723
// The maximum log file size specified is too small to log the selected counters.
724
// No data will be recorded in this log file. Specify a smaller set of counters
725
// to log or a larger file size and retry this call.
728
PDH_LOG_FILE_TOO_SMALL = DWORD($C0000BDC);
729
{$EXTERNALSYM PDH_LOG_FILE_TOO_SMALL}
732
// MessageId: PDH_INVALID_DATASOURCE
736
// Cannot connect to ODBC DataSource Name.
739
PDH_INVALID_DATASOURCE = DWORD($C0000BDD);
740
{$EXTERNALSYM PDH_INVALID_DATASOURCE}
743
// MessageId: PDH_INVALID_SQLDB
747
// SQL Database does not contain a valid set of tables for Perfmon, use PdhCreateSQLTables.
750
PDH_INVALID_SQLDB = DWORD($C0000BDE);
751
{$EXTERNALSYM PDH_INVALID_SQLDB}
754
// MessageId: PDH_NO_COUNTERS
758
// No counters were found for this Perfmon SQL Log Set.
761
PDH_NO_COUNTERS = DWORD($C0000BDF);
762
{$EXTERNALSYM PDH_NO_COUNTERS}
765
// MessageId: PDH_SQL_ALLOC_FAILED
769
// Call to SQLAllocStmt failed with %1.
772
PDH_SQL_ALLOC_FAILED = DWORD($C0000BE0);
773
{$EXTERNALSYM PDH_SQL_ALLOC_FAILED}
776
// MessageId: PDH_SQL_ALLOCCON_FAILED
780
// Call to SQLAllocConnect failed with %1.
783
PDH_SQL_ALLOCCON_FAILED = DWORD($C0000BE1);
784
{$EXTERNALSYM PDH_SQL_ALLOCCON_FAILED}
787
// MessageId: PDH_SQL_EXEC_DIRECT_FAILED
791
// Call to SQLExecDirect failed with %1.
794
PDH_SQL_EXEC_DIRECT_FAILED = DWORD($C0000BE2);
795
{$EXTERNALSYM PDH_SQL_EXEC_DIRECT_FAILED}
798
// MessageId: PDH_SQL_FETCH_FAILED
802
// Call to SQLFetch failed with %1.
805
PDH_SQL_FETCH_FAILED = DWORD($C0000BE3);
806
{$EXTERNALSYM PDH_SQL_FETCH_FAILED}
809
// MessageId: PDH_SQL_ROWCOUNT_FAILED
813
// Call to SQLRowCount failed with %1.
816
PDH_SQL_ROWCOUNT_FAILED = DWORD($C0000BE4);
817
{$EXTERNALSYM PDH_SQL_ROWCOUNT_FAILED}
820
// MessageId: PDH_SQL_MORE_RESULTS_FAILED
824
// Call to SQLMoreResults failed with %1.
827
PDH_SQL_MORE_RESULTS_FAILED = DWORD($C0000BE5);
828
{$EXTERNALSYM PDH_SQL_MORE_RESULTS_FAILED}
831
// MessageId: PDH_SQL_CONNECT_FAILED
835
// Call to SQLConnect failed with %1.
838
PDH_SQL_CONNECT_FAILED = DWORD($C0000BE6);
839
{$EXTERNALSYM PDH_SQL_CONNECT_FAILED}
842
// MessageId: PDH_SQL_BIND_FAILED
846
// Call to SQLBindCol failed with %1.
849
PDH_SQL_BIND_FAILED = DWORD($C0000BE7);
850
{$EXTERNALSYM PDH_SQL_BIND_FAILED}
853
// MessageId: PDH_CANNOT_CONNECT_WMI_SERVER
857
// Unable to connect to the WMI server on requested machine.
860
PDH_CANNOT_CONNECT_WMI_SERVER = DWORD($C0000BE8);
861
{$EXTERNALSYM PDH_CANNOT_CONNECT_WMI_SERVER}
864
// MessageId: PDH_PLA_COLLECTION_ALREADY_RUNNING
868
// Collection "%1!s!" is already running.
871
PDH_PLA_COLLECTION_ALREADY_RUNNING = DWORD($C0000BE9);
872
{$EXTERNALSYM PDH_PLA_COLLECTION_ALREADY_RUNNING}
875
// MessageId: PDH_PLA_ERROR_SCHEDULE_OVERLAP
879
// The specified start time is after the end time.
882
PDH_PLA_ERROR_SCHEDULE_OVERLAP = DWORD($C0000BEA);
883
{$EXTERNALSYM PDH_PLA_ERROR_SCHEDULE_OVERLAP}
886
// MessageId: PDH_PLA_COLLECTION_NOT_FOUND
890
// Collection "%1!s!" does not exist.
893
PDH_PLA_COLLECTION_NOT_FOUND = DWORD($C0000BEB);
894
{$EXTERNALSYM PDH_PLA_COLLECTION_NOT_FOUND}
897
// MessageId: PDH_PLA_ERROR_SCHEDULE_ELAPSED
901
// The specified end time has already elapsed.
904
PDH_PLA_ERROR_SCHEDULE_ELAPSED = DWORD($C0000BEC);
905
{$EXTERNALSYM PDH_PLA_ERROR_SCHEDULE_ELAPSED}
908
// MessageId: PDH_PLA_ERROR_NOSTART
912
// Collection "%1!s!" did not start, check the application event log for any errors.
915
PDH_PLA_ERROR_NOSTART = DWORD($C0000BED);
916
{$EXTERNALSYM PDH_PLA_ERROR_NOSTART}
919
// MessageId: PDH_PLA_ERROR_ALREADY_EXISTS
923
// Collection "%1!s!" already exists.
926
PDH_PLA_ERROR_ALREADY_EXISTS = DWORD($C0000BEE);
927
{$EXTERNALSYM PDH_PLA_ERROR_ALREADY_EXISTS}
930
// MessageId: PDH_PLA_ERROR_TYPE_MISMATCH
934
// There is a mismatch in the settings type.
937
PDH_PLA_ERROR_TYPE_MISMATCH = DWORD($C0000BEF);
938
{$EXTERNALSYM PDH_PLA_ERROR_TYPE_MISMATCH}
941
// MessageId: PDH_PLA_ERROR_FILEPATH
945
// The information specified does not resolve to a valid path name.
948
PDH_PLA_ERROR_FILEPATH = DWORD($C0000BF0);
949
{$EXTERNALSYM PDH_PLA_ERROR_FILEPATH}
952
// MessageId: PDH_PLA_SERVICE_ERROR
956
// The "Performance Logs & Alerts" service did not respond.
959
PDH_PLA_SERVICE_ERROR = DWORD($C0000BF1);
960
{$EXTERNALSYM PDH_PLA_SERVICE_ERROR}
963
// MessageId: PDH_PLA_VALIDATION_ERROR
967
// The information passed is not valid.
970
PDH_PLA_VALIDATION_ERROR = DWORD($C0000BF2);
971
{$EXTERNALSYM PDH_PLA_VALIDATION_ERROR}
974
// MessageId: PDH_PLA_VALIDATION_WARNING
978
// The information passed is not valid.
981
PDH_PLA_VALIDATION_WARNING = DWORD($80000BF3);
982
{$EXTERNALSYM PDH_PLA_VALIDATION_WARNING}
985
// MessageId: PDH_PLA_ERROR_NAME_TOO_LONG
989
// The name supplied is too long.
992
PDH_PLA_ERROR_NAME_TOO_LONG = DWORD($C0000BF4);
993
{$EXTERNALSYM PDH_PLA_ERROR_NAME_TOO_LONG}
996
// MessageId: PDH_INVALID_SQL_LOG_FORMAT
1000
// SQL log format is incorrect. Correct format is "SQL:<DSN-name>!<LogSet-Name>".
1003
PDH_INVALID_SQL_LOG_FORMAT = DWORD($C0000BF5);
1004
{$EXTERNALSYM PDH_INVALID_SQL_LOG_FORMAT}
1007
// MessageId: PDH_COUNTER_ALREADY_IN_QUERY
1011
// Performance counter in PdhAddCounter() call has already been added
1012
// in the performance query. This counter is ignored.
1015
PDH_COUNTER_ALREADY_IN_QUERY = DWORD($C0000BF6);
1016
{$EXTERNALSYM PDH_COUNTER_ALREADY_IN_QUERY}
1019
// MessageId: PDH_BINARY_LOG_CORRUPT
1023
// Unable to read counter information and data from input binary log files.
1026
PDH_BINARY_LOG_CORRUPT = DWORD($C0000BF7);
1027
{$EXTERNALSYM PDH_BINARY_LOG_CORRUPT}
1030
// MessageId: PDH_LOG_SAMPLE_TOO_SMALL
1034
// At least one of the input binary log files contain fewer than two data samples.
1037
PDH_LOG_SAMPLE_TOO_SMALL = DWORD($C0000BF8);
1038
{$EXTERNALSYM PDH_LOG_SAMPLE_TOO_SMALL}
1041
// MessageId: PDH_OS_LATER_VERSION
1045
// The version of the operating system on the computer named %1 is later than that on the local computer. This operation is not available from the local computer.
1048
PDH_OS_LATER_VERSION = DWORD($C0000BF9);
1049
{$EXTERNALSYM PDH_OS_LATER_VERSION}
1052
// MessageId: PDH_OS_EARLIER_VERSION
1056
// %1 supports %2 or later. Check the operating system version on the computer named %3.
1059
PDH_OS_EARLIER_VERSION = DWORD($C0000BFA);
1060
{$EXTERNALSYM PDH_OS_EARLIER_VERSION}
1063
// MessageId: PDH_INCORRECT_APPEND_TIME
1067
// The output file must contain earlier data than the file to be appended.
1070
PDH_INCORRECT_APPEND_TIME = DWORD($C0000BFB);
1071
{$EXTERNALSYM PDH_INCORRECT_APPEND_TIME}
1074
// MessageId: PDH_UNMATCHED_APPEND_COUNTER
1078
// Both files must have identical counters in order to append.
1081
PDH_UNMATCHED_APPEND_COUNTER = DWORD($C0000BFC);
1082
{$EXTERNALSYM PDH_UNMATCHED_APPEND_COUNTER}
1085
// MessageId: PDH_SQL_ALTER_DETAIL_FAILED
1089
// Cannot alter CounterDetail table layout in SQL database.
1092
PDH_SQL_ALTER_DETAIL_FAILED = DWORD($C0000BFD);
1093
{$EXTERNALSYM PDH_SQL_ALTER_DETAIL_FAILED}
1096
// MessageId: PDH_QUERY_PERF_DATA_TIMEOUT
1100
// System is busy. Timeout when collecting counter data. Please retry later or increase "CollectTime" registry value.
1103
PDH_QUERY_PERF_DATA_TIMEOUT = DWORD($C0000BFE);
1104
{$EXTERNALSYM PDH_QUERY_PERF_DATA_TIMEOUT}
1106
{$ENDIF JWA_IMPLEMENTATIONSECTION}
1110
{$IFNDEF JWA_OMIT_SECTIONS}
1113
{$ENDIF JWA_OMIT_SECTIONS}
1117
{$IFNDEF JWA_INTERFACESECTION}
1119
//your implementation here
1120
{$ENDIF JWA_INTERFACESECTION}
1124
{$IFNDEF JWA_OMIT_SECTIONS}
1126
{$ENDIF JWA_OMIT_SECTIONS}