[PATCH 0/1] MR712: wintypes: Add RoResolveNamespace stub.
`RO_E_METADATA_NAME_NOT_FOUND` seems to be a good default return value for this stub. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/712
From: Loïc Rebmeister <fox2code(a)gmail.com> Signed-off-by: Loïc Rebmeister <fox2code(a)gmail.com> --- dlls/wintypes/main.c | 14 ++++++++++++++ dlls/wintypes/wintypes.spec | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dlls/wintypes/main.c b/dlls/wintypes/main.c index 1ca8d94cd67..ea5e3172fdd 100644 --- a/dlls/wintypes/main.c +++ b/dlls/wintypes/main.c @@ -354,3 +354,17 @@ HRESULT WINAPI DllGetActivationFactory(HSTRING classid, IActivationFactory **fac IUnknown_AddRef(*factory); return S_OK; } + +HRESULT WINAPI RoResolveNamespace(const HSTRING name, const HSTRING windowsMetaDataDir, + const 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..c1bc25efaca 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 ptr ptr ptr ptr ptr ptr) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/712
participants (1)
-
Loïc Rebmeister