mf/tests: Test input type for WMA decoder DMO.
[wine.git] / include / roerrorapi.h
blob741347455b174e1d7dd9ff8ef1d89be6cd110944
1 /*
2 * Copyright 2020 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _ROERROR_H
20 #define _ROERROR_H
22 #include <hstring.h>
23 #include <restrictederrorinfo.h>
24 #include <rpc.h>
26 typedef enum
28 RO_ERROR_REPORTING_NONE = 0x0,
29 RO_ERROR_REPORTING_SUPPRESSEXCEPTIONS = 0x1,
30 RO_ERROR_REPORTING_FORCEEXCEPTIONS = 0x2,
31 RO_ERROR_REPORTING_USESETERRORINFO = 0x4,
32 RO_ERROR_REPORTING_SUPPRESSSETERRORINFO = 0x8,
33 } RO_ERROR_REPORTING_FLAGS;
35 HRESULT WINAPI GetRestrictedErrorInfo(IRestrictedErrorInfo **info);
36 BOOL WINAPI RoOriginateError(HRESULT error, HSTRING message);
37 BOOL WINAPI RoOriginateLanguageException(HRESULT error, HSTRING message, IUnknown *language_exception);
38 HRESULT WINAPI RoSetErrorReportingFlags(UINT32 flags);
40 #endif /* _ROERROR_H */