combase: Add RoSetErrorReportingFlags() stub.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2022-03-02 14:05:32 +01:00 committed by Alexandre Julliard
parent 94e5de6d16
commit 430583893e
3 changed files with 20 additions and 1 deletions

View File

@ -312,7 +312,7 @@
@ stub RoReportUnhandledError
@ stub RoResolveRestrictedErrorInfoReference
@ stub RoRevokeActivationFactories
@ stub RoSetErrorReportingFlags
@ stdcall RoSetErrorReportingFlags(long)
@ stub RoTransformError
@ stub RoTransformErrorW
@ stdcall RoUninitialize()

View File

@ -299,6 +299,15 @@ BOOL WINAPI RoOriginateError(HRESULT error, HSTRING message)
return FALSE;
}
/***********************************************************************
* RoSetErrorReportingFlags (combase.@)
*/
HRESULT WINAPI RoSetErrorReportingFlags(UINT32 flags)
{
FIXME("(%08x): stub\n", flags);
return S_OK;
}
/***********************************************************************
* CleanupTlsOleState (combase.@)
*/

View File

@ -23,8 +23,18 @@
#include <restrictederrorinfo.h>
#include <rpc.h>
typedef enum
{
RO_ERROR_REPORTING_NONE = 0x0,
RO_ERROR_REPORTING_SUPPRESSEXCEPTIONS = 0x1,
RO_ERROR_REPORTING_FORCEEXCEPTIONS = 0x2,
RO_ERROR_REPORTING_USESETERRORINFO = 0x4,
RO_ERROR_REPORTING_SUPPRESSSETERRORINFO = 0x8,
} RO_ERROR_REPORTING_FLAGS;
HRESULT WINAPI GetRestrictedErrorInfo(IRestrictedErrorInfo **info);
BOOL WINAPI RoOriginateError(HRESULT error, HSTRING message);
BOOL WINAPI RoOriginateLanguageException(HRESULT error, HSTRING message, IUnknown *language_exception);
HRESULT WINAPI RoSetErrorReportingFlags(UINT32 flags);
#endif /* _ROERROR_H */