Megosztás a következőn keresztül:


Error Codes

The following table describes WPRControl error codes.

Error Code Description

E_WPRC_DUPLICATE_INSTANCE_RUNNING

The library detected that another instance of the library is already running.

E_WPRC_FAILED_TO_ADD_PROFILE

The library failed to add a profile to the collection.

E_WPRC_FAILED_TO_CANCEL_PROFILE

The library failed to cancel a profile in the profile collection.

E_WPRC_FAILED_TO_CLEAR_PROFILE_COLLECTION

The library failed to remove all profiles from the collection.

E_WPRC_FAILED_TO_DISABLE_DEBUG_LOGGING

The library failed to disable debug logging.

E_WPRC_FAILED_TO_DISABLE_PROFILES_FOR_BOOT_TRACING

The library failed to remove the profiles so that they do not start during boot.

E_WPRC_FAILED_TO_ENABLE_DEBUG_LOGGING

The library failed to enable debug logging.

E_WPRC_FAILED_TO_ENABLE_PROFILES_FOR_BOOT_TRACING

The library failed to save the profiles to start during boot.

E_WPRC_FAILED_TO_QUERY_BUILTIN_PROFILES

The library failed to query the built-in profiles.

E_WPRC_FAILED_TO_QUERY_PROFILES

The library failed to query the properties of the session and providers in all the profiles.

E_WPRC_FAILED_TO_REMOVE_PROFILE

The library failed to remove a profile from the collection.

E_WPRC_FAILED_TO_SAVE_PROFILE

The library failed to save a profile in the profile collection.

E_WPRC_FAILED_TO_START_PROFILE

The library failed to start a profile in the profile collection.

E_WPRC_FAILED_TO_STOP_PROFILE

The library failed to stop a profile in the profile collection.

E_WPRC_FAILED_TO_UPDATE_PROFILE

The library failed to update a profile in the profile collection.

E_WPRC_FAILED_TO_VALIDATE_PROFILE

The library failed to validate the profile.

E_WPRC_FAILED_TO_VALIDATE_TRACEMERGE_PROPERTIES

The library failed to validate the trace merge properties.

E_WPRC_INVALID_PROFILES_RUNTIME_STATE

The profiles running on the system are different from those used to start the recording.

E_WPRC_TRACE_MERGE_LOST_EVENTS

The Event Tracing for Windows (ETW) session lost events, and merging the event trace log (ETL) files from the session may create an incomplete ETL file.

E_WPRC_WOW64_NOT_SUPPORTED

The profile library does not support Windows 32-bit On Windows 64-bit.

WPRControl API Reference