AddERExcludedApplication function

[The AddERExcludedApplication function is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the WerAddExcludedApplication function.]

Excludes the specified application from error reporting.

Syntax


BOOL APIENTRY AddERExcludedApplication(
  _In_  LPCTSTR szApplication
);

Parameters

szApplication [in]

The name of the executable file for the application, including the file name extension. The name cannot contain path information.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, see GetLastError.

Remarks

This function stores the excluded application list under the HKEY_LOCAL_MACHINE hive. The calling process must have permissions to write to this registry hive.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

ErrorRep.h

Library

Faultrep.lib

DLL

Faultrep.dll

Unicode and ANSI names

AddERExcludedApplicationW (Unicode) and AddERExcludedApplicationA (ANSI)

See also

ReportFault
WER Functions
Windows Error Reporting

 

 

Community Additions

ADD
Show:
© 2014 Microsoft