1 // Copyright © 2015-2017 winapi-rs developers
2 // Licensed under the Apache License, Version 2.0
3 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
4 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
5 // All files in the project carrying such notice may not be copied, modified, or distributed
6 // except according to those terms.
7 //! Function prototypes for Windows Error Reporting (WER)
8 use shared
::minwindef
::{BOOL, DWORD, PDWORD}
;
9 use um
::winnt
::{HANDLE, HRESULT, PCWSTR, PVOID}
;
10 ENUM
!{enum WER_REGISTER_FILE_TYPE
{
11 WerRegFileTypeUserDocument
= 1,
12 WerRegFileTypeOther
= 2,
16 pub fn WerRegisterFile(
18 regFileType
: WER_REGISTER_FILE_TYPE
,
21 pub fn WerUnregisterFile(
24 pub fn WerRegisterMemoryBlock(
28 pub fn WerUnregisterMemoryBlock(
38 pub fn WerAddExcludedApplication(
42 pub fn WerRemoveExcludedApplication(
46 pub fn WerRegisterRuntimeExceptionModule(
47 pwszOutOfProcessCallbackDll
: PCWSTR
,
50 pub fn WerUnregisterRuntimeExceptionModule(
51 pwszOutOfProcessCallbackDll
: PCWSTR
,