[PATCH] shell32: Implement SHCreateAssociationRegistration.

Roman Pišl rpisl at seznam.cz
Sat Feb 29 11:47:50 CST 2020


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44253

Signed-off-by: Roman Pišl <rpisl at seznam.cz>
---
 dlls/shell32/assoc.c      | 8 ++++++++
 dlls/shell32/shell32.spec | 1 +
 2 files changed, 9 insertions(+)

diff --git a/dlls/shell32/assoc.c b/dlls/shell32/assoc.c
index a501dea2e7..49751048f3 100644
--- a/dlls/shell32/assoc.c
+++ b/dlls/shell32/assoc.c
@@ -1139,6 +1139,14 @@ static const IEnumAssocHandlersVtbl enumassochandlersvtbl = {
     enumassochandlers_Next
 };
 
+/**************************************************************************
+ * SHCreateAssociationRegistration [SHELL32.@]
+ */
+HRESULT WINAPI SHCreateAssociationRegistration(REFIID riid, LPVOID *ppv)
+{
+    return ApplicationAssociationRegistration_Constructor(NULL, riid, ppv);
+}
+
 /**************************************************************************
  * SHAssocEnumHandlers            [SHELL32.@]
  */
diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec
index 96251a87ca..d4571212ce 100644
--- a/dlls/shell32/shell32.spec
+++ b/dlls/shell32/shell32.spec
@@ -338,6 +338,7 @@
 @ stdcall SHBrowseForFolderW(ptr)
 @ stdcall SHChangeNotify (long long ptr ptr)
 @ stub SHChangeNotifySuspendResume
+@ stdcall SHCreateAssociationRegistration(ptr ptr)
 @ stdcall SHCreateDataObject(ptr long ptr ptr ptr ptr)
 @ stdcall SHCreateDefaultContextMenu(ptr ptr ptr)
 @ stdcall SHCreateDirectoryExA(long str ptr)
-- 
2.20.1




More information about the wine-devel mailing list