include: Add roerrorapi.h header.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-01-07 20:45:17 +01:00 committed by Alexandre Julliard
parent ade89071f0
commit c1e7358311
2 changed files with 30 additions and 0 deletions

View File

@ -558,6 +558,7 @@ SOURCES = \
rmxfguid.h \
rmxftmpl.x \
roapi.h \
roerrorapi.h \
roparameterizediid.idl \
row.idl \
rowchg.idl \

29
include/roerrorapi.h Normal file
View File

@ -0,0 +1,29 @@
/*
* Copyright 2020 Jacek Caban for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _ROERROR_H
#define _ROERROR_H
#include <hstring.h>
#include <restrictederrorinfo.h>
#include <rpc.h>
HRESULT WINAPI GetRestrictedErrorInfo(IRestrictedErrorInfo **info);
BOOL WINAPI RoOriginateLanguageException(HRESULT error, HSTRING message, IUnknown *language_exception);
#endif /* _ROERROR_H */