PDH Errors

 

Error

Meaning

Description

0 

PDH_CSTATUS_VALID_DATA

The returned data is valid.

 

 

 

1

PDH_CSTATUS_NEW_DATA

The return data value is valid and different from the last sample.

 

 

 

2147485648

PDH_CSTATUS_NO_MACHINE

Unable to connect to specified machine or machine is off line.

 

 

 

2147485649

PDH_CSTATUS_NO_INSTANCE

The specified instance is not present.

 

 

 

2147485650

PDH_MORE_DATA

There is more data to return than would fit in the supplied buffer. Allocate a larger buffer and call the function again.

 

 

 

2147485651

PDH_CSTATUS_ITEM_NOT_VALIDATED

The data item has been added to the query, but has not been validated nor accessed. No other status information on this data item is available.

 

 

 

2147485652

PDH_RETRY

The selected operation should be retried.

 

 

 

2147485653

PDH_NO_DATA

No data to return.

 

 

 

2147485654

PDH_CALC_NEGATIVE_DENOMINATOR

A counter with a negative denominator value was detected.

 

 

 

2147485655

PDH_CALC_NEGATIVE_TIMEBASE

A counter with a negative timebase value was detected.

 

 

 

2147485656

PDH_CALC_NEGATIVE_VALUE

A counter with a negative value was detected.

 

 

 

2147485657

PDH_DIALOG_CANCELLED

The user cancelled the dialog box.

 

 

 

2147485658

PDH_END_OF_LOG_FILE

The end of the log file was reached.

 

 

 

3221228472

PDH_CSTATUS_NO_OBJECT

The specified object is not found on the system.

 

 

 

3221228473

PDH_CSTATUS_NO_COUNTER

The specified counter could not be found.

 

 

 

3221228474

PDH_CSTATUS_INVALID_DATA

The returned data is not valid.

 

 

 

3221228475

PDH_MEMORY_ALLOCATION_FAILURE

A PDH function could not allocate enough temporary memory to complete the operation. Close some applications or extend the pagefile and retry the function.

 

 

 

3221228476

PDH_INVALID_HANDLE

The handle is not a valid PDH object.

 

 

 

3221228477

PDH_INVALID_ARGUMENT

A required argument is missing or incorrect.

 

 

 

3221228478

PDH_FUNCTION_NOT_FOUND

Unable to find the specified function.

 

 

 

3221228479

PDH_CSTATUS_NO_COUNTERNAME

No counter was specified.

 

 

 

3221228480

PDH_CSTATUS_BAD_COUNTERNAME

Unable to parse the counter path. Check the format and syntax of the specified path.

 

 

 

3221228481

PDH_INVALID_BUFFER

The buffer passed by the caller is invalid.

 

 

 

3221228482

PDH_INSUFFICIENT_BUFFER

The requested data is larger than the buffer supplied. Unable to return therequested data.

 

 

 

3221228483

PDH_CANNOT_CONNECT_MACHINE

Unable to connect to the requested machine.

 

 

 

3221228484

PDH_INVALID_PATH

The specified counter path could not be interpreted.

 

 

 

3221228485

PDH_INVALID_INSTANCE

The instance name could not be read from the specified counter path.

 

 

 

3221228486

PDH_INVALID_DATA

The data is not valid.

 

 

 

3221228487

PDH_NO_DIALOG_DATA

The dialog box data block was missing or invalid.

 

 

 

3221228488

PDH_CANNOT_READ_NAME_STRINGS

Unable to read the counter and/or explain text from the specified machine.

 

 

 

3221228489

PDH_LOG_FILE_CREATE_ERROR

Unable to create the specified log file.

 

 

 

3221228490

PDH_LOG_FILE_OPEN_ERROR

Unable to open the specified log file.

 

 

 

3221228491

PDH_LOG_TYPE_NOT_FOUND

The specified log file type has not been installed on this system.

 

 

 

3221228492

PDH_NO_MORE_DATA

No more data is available.

 

 

 

3221228493

PDH_ENTRY_NOT_IN_LOG_FILE

The specified record was not found in the log file.

 

 

 

3221228494

PDH_DATA_SOURCE_IS_LOG_FILE

The specified data source is a log file.

 

 

 

3221228495

PDH_DATA_SOURCE_IS_REAL_TIME

The specified data source is the current activity.

 

 

 

3221228496

PDH_UNABLE_READ_LOG_HEADER

The log file header could not be read.

 

 

 

3221228497

PDH_FILE_NOT_FOUND

Unable to find the specified file.

 

 

 

3221228498

PDH_FILE_ALREADY_EXISTS

There is already a file with the specified file name.

 

 

 

3221228499

PDH_NOT_IMPLEMENTED

The function referenced has not been implemented.

 

 

 

3221228500

PDH_STRING_NOT_FOUND

Unable to find the specified string in the list of performance name and explain text strings.

 

 

 

2147486677

PDH_UNABLE_MAP_NAME_FILES

Unable to map to the performance counter name data files. The data will be read from the registry and stored locally.

 

 

 

3221228502

PDH_UNKNOWN_LOG_FORMAT

The format of the specified log file is not recognized by the PDH DLL.

 

 

 

3221228503

PDH_UNKNOWN_LOGSVC_COMMAND

The specified Log Service command value is not recognized.

 

 

 

3221228504

PDH_LOGSVC_QUERY_NOT_FOUND

The specified Query from the Log Service could not be found or could notbe opened.

 

 

 

3221228505

PDH_LOGSVC_NOT_OPENED

The Performance Data Log Service key could not be opened. This may be dueto insufficient privilege or because the service has not been installed.

 

 

 

3221228506

PDH_WBEM_ERROR

An error occured while accessing the WBEM data store. The WBEM error code is contained in the LastError value.

 

 

 

3221228507

PDH_ACCESS_DENIED

Unable to access the desired machine or service. Check the permissions and authentication of the log service or the interactive user session against those on the machine or service being monitored.

 

 

 

3221228508

PDH_LOG_FILE_TOO_SMALL

The maximum log file size specified is too small to log the selected counters. No data will be recorded in this log file. Specify a smaller set of countersto log or a larger file size and retry this call.