crypt32/tests: CertAddCertificateLinkToStore is not present on W98.
[wine/multimedia.git] / include / werapi.h
bloba1db799cd0ddffc36e5132edc25ac7aa9c799132
1 /*
2 * Windows Error Reporing definitions
4 * Copyright (C) 2010 Louis Lenders
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_WERAPI_H
22 #define __WINE_WERAPI_H
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
29 typedef HANDLE HREPORT;
31 typedef enum _WER_REGISTER_FILE_TYPE
33 WerRegFileTypeUserDocument = 1,
34 WerRegFileTypeOther = 2,
35 WerRegFileTypeMax
36 } WER_REGISTER_FILE_TYPE;
38 typedef struct _WER_REPORT_INFORMATION
40 DWORD dwSize;
41 HANDLE hProcess;
42 WCHAR wzConsentKey[64];
43 WCHAR wzFriendlyEventName[128];
44 WCHAR wzApplicationName[128];
45 WCHAR wzApplicationPath[MAX_PATH];
46 WCHAR wzDescription[512];
47 HWND hwndParent;
48 } WER_REPORT_INFORMATION, *PWER_REPORT_INFORMATION;
51 typedef enum _WER_REPORT_TYPE
53 WerReportNonCritical = 0,
54 WerReportCritical,
55 WerReportApplicationCrash,
56 WerReportApplicationHang,
57 WerReportKernel,
58 WerReportInvalid
59 } WER_REPORT_TYPE;
61 HRESULT WINAPI WerAddExcludedApplication(PCWSTR, BOOL);
62 HRESULT WINAPI WerRegisterFile(PCWSTR file, WER_REGISTER_FILE_TYPE regfiletype, DWORD flags);
63 HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR, BOOL);
64 HRESULT WINAPI WerReportCloseHandle(HREPORT);
65 HRESULT WINAPI WerReportCreate(PCWSTR, WER_REPORT_TYPE, PWER_REPORT_INFORMATION, HREPORT*);
67 #ifdef __cplusplus
69 #endif
71 #endif /* __WINE_WERAPI_H */