November 2007
Intermediate to advanced
848 pages
27h 15m
English
Exported by kernel32.dll and defined in werapi.h, the following function lets you change a couple of options for your process:
HRESULT WerSetFlags(DWORD dwFlags);
Table 26-2 lists the four available cumulative options.
Table 26-2. Details of the WerSetFlags Parameter
WER_FAULT_REPORTING_* Options | Description |
|---|---|
| When a report is generated, it will not contain the heap content. This might be useful to limit the size of reports. |
| By default, WER suspends all threads in an interactive process so that other threads can’t corrupt data further while an application is faulting. This flag tells WER not to suspend the other threads and is potentially a dangerous flag to use. |
|
Read now
Unlock full access