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 |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names | AddERExcludedApplicationW (Unicode) and AddERExcludedApplicationA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012