[PATCH 0/1] MR10230: combase: Add RoFailFastWithErrorContext stub
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> --- dlls/combase/combase.spec | 2 +- dlls/combase/roapi.c | 8 ++++++++ include/roerrorapi.h | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/combase/combase.spec b/dlls/combase/combase.spec index 9018b013823..0a995a2e70e 100644 --- a/dlls/combase/combase.spec +++ b/dlls/combase/combase.spec @@ -290,7 +290,7 @@ @ stdcall RoActivateInstance(ptr ptr) @ stub RoCaptureErrorContext @ stub RoClearError -@ stub RoFailFastWithErrorContext +@ stdcall RoFailFastWithErrorContext(long) @ stub RoFreeParameterizedTypeExtra @ stub RoGetActivatableClassRegistration @ stdcall RoGetActivationFactory(ptr ptr ptr) diff --git a/dlls/combase/roapi.c b/dlls/combase/roapi.c index a88181ada9b..59e59de5f1d 100644 --- a/dlls/combase/roapi.c +++ b/dlls/combase/roapi.c @@ -588,3 +588,11 @@ HRESULT WINAPI DllGetActivationFactory(HSTRING classid, IActivationFactory **fac return REGDB_E_CLASSNOTREG; } + +/*********************************************************************** + * RoGetErrorReportingFlags (combase.@) + */ +void WINAPI RoFailFastWithErrorContext(HRESULT hr) +{ + FIXME("(0x%08lx)\n", hr); +} \ No newline at end of file diff --git a/include/roerrorapi.h b/include/roerrorapi.h index 8f3200c559d..0bab6651d2b 100644 --- a/include/roerrorapi.h +++ b/include/roerrorapi.h @@ -33,6 +33,7 @@ typedef enum } RO_ERROR_REPORTING_FLAGS; HRESULT WINAPI GetRestrictedErrorInfo(IRestrictedErrorInfo **info); +void WINAPI RoFailFastWithErrorContext(HRESULT hr); HRESULT WINAPI RoGetErrorReportingFlags(UINT32 *flags); BOOL WINAPI RoOriginateError(HRESULT error, HSTRING message); BOOL WINAPI RoOriginateErrorW(HRESULT error, UINT max_len, const WCHAR *message); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10230
Alfred Agrell (@Alcaro) commented about dlls/combase/roapi.c:
return REGDB_E_CLASSNOTREG; } + +/*********************************************************************** + * RoGetErrorReportingFlags (combase.@)
Forgot updating this comment? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10230#note_131033
Alfred Agrell (@Alcaro) commented about dlls/combase/roapi.c:
return REGDB_E_CLASSNOTREG; } + +/*********************************************************************** + * RoGetErrorReportingFlags (combase.@) + */ +void WINAPI RoFailFastWithErrorContext(HRESULT hr) +{ + FIXME("(0x%08lx)\n", hr);
Anything named FailFast being able to return makes me nervous. I'd rather see an abort() or TerminateProcess(self, 1) or something after the fixme. But I'm not entirely sure what Wine's stub policy is. If it says something contrary, ignore me. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10230#note_131034
participants (3)
-
Alfred Agrell (@Alcaro) -
Alistair Leslie-Hughes -
Alistair Leslie-Hughes (@alesliehughes)