combase: Add stub for RoOriginateError.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51983
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 6b59b26fff)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
Louis Lenders 2021-11-11 13:55:31 +01:00 committed by Michael Stefaniuc
parent fb168121b2
commit ef27e2b503
5 changed files with 13 additions and 3 deletions

View File

@ -2,7 +2,7 @@
@ stub RoCaptureErrorContext
@ stub RoFailFastWithErrorContext
@ stub RoGetErrorReportingFlags
@ stub RoOriginateError
@ stdcall RoOriginateError(long ptr) combase.RoOriginateError
@ stub RoOriginateErrorW
@ stub RoResolveRestrictedErrorInfoReference
@ stub RoSetErrorReportingFlags

View File

@ -7,7 +7,7 @@
@ stub RoGetMatchingRestrictedErrorInfo
@ stub RoInspectCapturedStackBackTrace
@ stub RoInspectThreadErrorInfo
@ stub RoOriginateError
@ stdcall RoOriginateError(long ptr) combase.RoOriginateError
@ stub RoOriginateErrorW
@ stdcall RoOriginateLanguageException(long ptr ptr) combase.RoOriginateLanguageException
@ stub RoReportFailedDelegate

View File

@ -301,7 +301,7 @@
@ stdcall RoInitialize(long)
@ stub RoInspectCapturedStackBackTrace
@ stub RoInspectThreadErrorInfo
@ stub RoOriginateError
@ stdcall RoOriginateError(long ptr)
@ stub RoOriginateErrorW
@ stdcall RoOriginateLanguageException(long ptr ptr)
@ stub RoParameterizedTypeExtraGetTypeSignature

View File

@ -290,6 +290,15 @@ BOOL WINAPI RoOriginateLanguageException(HRESULT error, HSTRING message, IUnknow
return FALSE;
}
/***********************************************************************
* RoOriginateError (combase.@)
*/
BOOL WINAPI RoOriginateError(HRESULT error, HSTRING message)
{
FIXME("(%x %s) stub\n", error, debugstr_hstring(message));
return FALSE;
}
/***********************************************************************
* CleanupTlsOleState (combase.@)
*/

View File

@ -24,6 +24,7 @@
#include <rpc.h>
HRESULT WINAPI GetRestrictedErrorInfo(IRestrictedErrorInfo **info);
BOOL WINAPI RoOriginateError(HRESULT error, HSTRING message);
BOOL WINAPI RoOriginateLanguageException(HRESULT error, HSTRING message, IUnknown *language_exception);
#endif /* _ROERROR_H */