Module: wine Branch: master Commit: 9a49c0a655240fe7ba0407e5fef59f8c07d01050 URL: https://gitlab.winehq.org/wine/wine/-/commit/9a49c0a655240fe7ba0407e5fef59f8...
Author: Daniel Tang danielzgtg.opensource@gmail.com Date: Fri Mar 31 13:00:39 2023 -0400
wintypes: Declare exported functions in rometadataresolution.h.
---
dlls/wintypes/main.c | 1 + include/Makefile.in | 1 + include/rometadataresolution.h | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+)
diff --git a/dlls/wintypes/main.c b/dlls/wintypes/main.c index 7eb2c0c2cce..e48a1b487a6 100644 --- a/dlls/wintypes/main.c +++ b/dlls/wintypes/main.c @@ -27,6 +27,7 @@ #include "objbase.h"
#include "activation.h" +#include "rometadataresolution.h"
#define WIDL_using_Windows_Foundation_Metadata #include "windows.foundation.metadata.h" diff --git a/include/Makefile.in b/include/Makefile.in index f0c0da3ed93..dcf6c016313 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -645,6 +645,7 @@ SOURCES = \ rmxftmpl.x \ roapi.h \ roerrorapi.h \ + rometadataresolution.h \ roparameterizediid.idl \ row.idl \ rowchg.idl \ diff --git a/include/rometadataresolution.h b/include/rometadataresolution.h new file mode 100644 index 00000000000..90258ff5aa0 --- /dev/null +++ b/include/rometadataresolution.h @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2023 Daniel Tang + * + * 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 _ROMETADATARESOLUTION_H +#define _ROMETADATARESOLUTION_H + +#include <windef.h> +#include <hstring.h> + +HRESULT WINAPI RoIsApiContractMajorVersionPresent(const WCHAR *, UINT16, BOOL *); +HRESULT WINAPI RoResolveNamespace(HSTRING, HSTRING, DWORD, const HSTRING *, DWORD *, HSTRING **, DWORD *, HSTRING **); + +#endif /* _ROMETADATARESOLUTION_H */