Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WER Functions

The following functions are used in Windows Error Reporting. For examples that use these functions, see samples in the Windows SDK under WinBase\WindowsErrorReporting and WinBase\Debug\FailFast.

In this section

TopicDescription

AddERExcludedApplication

Excludes the specified application from error reporting.

OutOfProcessExceptionEventCallback

WER calls this function to determine whether the exception handler is claiming the crash.

OutOfProcessExceptionEventDebuggerLaunchCallback

WER calls this function to let you customize the debugger launch options and launch string.

OutOfProcessExceptionEventSignatureCallback

WER can call this function multiple times to get the report parameters that uniquely describe the problem.

ReportFault

Enables an application that performs its own exception handling to report faults to Microsoft.

WerAddExcludedApplication

Adds the specified application to the list of applications that are to be excluded from error reporting.

WerFreeString

Frees up the memory used to store a report key string. This should be called after each successive call to WerStoreGetFirstReportKey or WerStoreGetNextReportKey, once the particular report key string has been used and is no longer needed.

WerGetFlags

Retrieves the fault reporting settings for the specified process.

WerRegisterAdditionalProcess

Registers a process to be included in the error report along with the main application process. Optionally specifies a thread within that registered process to get additional data from.

WerRegisterCustomMetadata

Registers app-specific metadata to be collected (in the form of key/value strings) when WER creates an error report.

WerRegisterExcludedMemoryBlock

Marks a memory block (that is normally included by default in error reports) to be excluded from the error report.

WerRegisterFile

Registers a file to be collected when WER creates an error report.

WerRegisterMemoryBlock

Registers a memory block to be collected when WER creates an error report.

WerRegisterRuntimeExceptionModule

Registers a custom runtime exception handler that is used to provide custom error reporting for crashes.

WerRemoveExcludedApplication

Removes the specified application from the list of applications that are to be excluded from error reporting.

WerReportAddDump

Adds a dump of the specified type to the specified report.

WerReportAddFile

Adds a file to the specified report.

WerReportCloseHandle

Closes the specified report.

WerReportCreate

Creates a problem report that describes an application event.

WerReportHang

Initiates "no response" reporting on the specified window.

WerReportSetParameter

Sets the parameters that uniquely identify an event for the specified report.

WerReportSetUIOption

Sets the user interface options for the specified report.

WerReportSubmit

Submits the specified report.

WerSetFlags

Sets the fault reporting settings for the current process.

WerStoreClose

Closes the collection of stored reports.

WerStoreGetFirstReportKey

Gets a reference to the first report in the report store.

WerStoreGetNextReportKey

Gets a reference to the next report in the error report store.

WerStoreOpen

Opens the collection of stored error reports.

WerStoreQueryReportMetadataV2

Retrieves metadata about a report in the store.

WerUnregisterAdditionalProcess

Removes a process from the list of additional processes to be included in the error report.

WerUnRegisterCustomMetadata

Removes an item of app-specific metadata being collected during error reporting for the application.

WerUnregisterExcludedMemoryBlock

Removes a memory block that was previously marked as excluded (it will again be included in error reports).

WerUnregisterFile

Removes a file from the list of files to be added to reports generated for the current process.

WerUnregisterMemoryBlock

Removes a memory block from the list of data to be collected during error reporting for the application.

WerUnregisterRuntimeExceptionModule

Removes the registration of your WER exception handler.

 

Obsolete Functions

The following functions are obsolete and are provided only for compatibility:

 

 

Show:
© 2017 Microsoft