From ddb0339fa126379b0d6a39a38ce2aee6c52f5711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Rebmeister?= Date: Thu, 25 Aug 2022 18:08:47 +0200 Subject: [PATCH] wintypes: Add RoResolveNamespace stub. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Loïc Rebmeister --- dlls/wintypes/main.c | 15 +++++++++++++++ dlls/wintypes/wintypes.spec | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/dlls/wintypes/main.c b/dlls/wintypes/main.c index 1ca8d94cd67..74eda4af5ce 100644 --- a/dlls/wintypes/main.c +++ b/dlls/wintypes/main.c @@ -354,3 +354,18 @@ HRESULT WINAPI DllGetActivationFactory(HSTRING classid, IActivationFactory **fac IUnknown_AddRef(*factory); return S_OK; } + +HRESULT WINAPI RoResolveNamespace(HSTRING name, HSTRING windowsMetaDataDir, + DWORD packageGraphDirsCount, const HSTRING *packageGraphDirs, + DWORD *metaDataFilePathsCount, HSTRING **metaDataFilePaths, + DWORD *subNamespacesCount, HSTRING **subNamespaces) +{ + FIXME("name %s, windowsMetaDataDir %s, metaDataFilePaths %p, subNamespaces %p stub!\n", + debugstr_hstring(name), debugstr_hstring(windowsMetaDataDir), + metaDataFilePaths, subNamespaces); + + if (!metaDataFilePaths && !subNamespaces) + return E_INVALIDARG; + + return RO_E_METADATA_NAME_NOT_FOUND; +} diff --git a/dlls/wintypes/wintypes.spec b/dlls/wintypes/wintypes.spec index 7c3a8d402a7..305344fef42 100644 --- a/dlls/wintypes/wintypes.spec +++ b/dlls/wintypes/wintypes.spec @@ -8,4 +8,4 @@ @ stub RoIsApiContractMajorVersionPresent @ stub RoIsApiContractPresent @ stub RoParseTypeName -@ stub RoResolveNamespace +@ stdcall RoResolveNamespace(ptr ptr long ptr ptr ptr ptr ptr)