---
name: "WerAddExcludedApplication"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/WerAddExcludedApplication"
---

# WerAddExcludedApplication(3w)

## NAME

**WerAddExcludedApplication** (WER.@)

## SYNOPSIS

HRESULT WerAddExcludedApplication\
  (\
   PCWSTR *exeName*,\
   BOOL   *allUsers*\
  )

## DESCRIPTION

Add an application to the user specific or the system wide exclusion list.

## PARAMS

*exeName* **\[In\]**  The application name.

*allUsers* **\[In\]**  for all users (**TRUE**) or for the current user (**FALSE**).

## RETURNS

**Success:** **S\_OK**

**Failure:** A **HRESULT** error code

## IMPLEMENTATION

Declared in **"werapi.h"**.

Implemented in **"dlls/wer/main.c"**.

Debug channel **"wer"**.
