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

# WerReportAddDump(3w)

## NAME

**WerReportAddDump** (WER.@)

## SYNOPSIS

HRESULT WerReportAddDump\
  (\
   HREPORT                    *hReportHandle*,\
   HANDLE                     *hProcess*,\
   HANDLE                     *hThread*,\
   WER\_DUMP\_TYPE              *dumpType*,\
   PWER\_EXCEPTION\_INFORMATION *pExceptionParam*,\
   PWER\_DUMP\_CUSTOM\_OPTIONS   *pDumpCustomOptions*,\
   DWORD                      *dwFlags*\
  )

## DESCRIPTION

Add a dump of *dumpType* to *hReportHandle*.

## PARAMS

*hReportHandle* **\[In\]**  error reporting handle to add the dump.

*hProcess* **\[In\]**  handle to the regarding process.

*hThread* **\[Out\]**  handle to the regarding thread.

*dumpType* **\[In\]**  type of the dump.

*pExceptionParam* **\[Out\]**  pointer to a **WER\_EXCEPTION\_INFORMATION**.

*pDumpCustomOptions* **\[Out\]**  pointer to a **WER\_DUMP\_CUSTOM\_OPTIONS**.

*dwFlags* **\[In\]**  flag to control the heap dump.

## RETURNS

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

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

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

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

Debug channel **"wer"**.
