[pkg-wine-party] [wine] 64/110: msi: Add stubs for MsiEnumClientsExA/W.

Michael Gilbert mgilbert at moszumanska.debian.org
Fri Feb 13 05:05:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository wine.

commit f8089da4b3c3715530b4dd2662a433bc17ab0267
Author: Austin English <austinenglish at gmail.com>
Date:   Tue Feb 3 22:56:29 2015 -0600

    msi: Add stubs for MsiEnumClientsExA/W.
---
 dlls/msi/msi.spec   |  4 ++--
 dlls/msi/registry.c | 18 ++++++++++++++++++
 include/msi.h       |  4 ++++
 3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec
index 4438721..0ea9a27 100644
--- a/dlls/msi/msi.spec
+++ b/dlls/msi/msi.spec
@@ -284,8 +284,8 @@
 288 stub MsiSetOfflineContextW
 289 stdcall MsiEnumComponentsExA(str long long ptr ptr ptr ptr)
 290 stdcall MsiEnumComponentsExW(wstr long long ptr ptr ptr ptr)
-291 stub MsiEnumClientsExA
-292 stub MsiEnumClientsExW
+291 stdcall MsiEnumClientsExA(str str long long ptr ptr ptr ptr)
+292 stdcall MsiEnumClientsExW(wstr wstr long long ptr ptr ptr ptr)
 293 stub MsiGetComponentPathExA
 294 stub MsiGetComponentPathExW
 295 stub QueryInstanceCount
diff --git a/dlls/msi/registry.c b/dlls/msi/registry.c
index 4dde285..3dc989f 100644
--- a/dlls/msi/registry.c
+++ b/dlls/msi/registry.c
@@ -1503,6 +1503,24 @@ UINT WINAPI MsiEnumClientsW(LPCWSTR szComponent, DWORD index, LPWSTR szProduct)
     return r;
 }
 
+UINT WINAPI MsiEnumClientsExA(LPCSTR component, LPCSTR usersid, DWORD ctx, DWORD index,
+                              CHAR installed_product[GUID_SIZE],
+                              MSIINSTALLCONTEXT *installed_ctx, LPSTR sid, LPDWORD sid_len)
+{
+    FIXME("%s, %s, %u, %u, %p, %p, %p, %p\n", debugstr_a(component), debugstr_a(usersid),
+          ctx, index, installed_product, installed_ctx, sid, sid_len);
+    return ERROR_ACCESS_DENIED;
+}
+
+UINT WINAPI MsiEnumClientsExW(LPCWSTR component, LPCWSTR usersid, DWORD ctx, DWORD index,
+                              WCHAR installed_product[GUID_SIZE],
+                              MSIINSTALLCONTEXT *installed_ctx, LPWSTR sid, LPDWORD sid_len)
+{
+    FIXME("%s, %s, %u, %u, %p, %p, %p, %p\n", debugstr_w(component), debugstr_w(usersid),
+          ctx, index, installed_product, installed_ctx, sid, sid_len);
+    return ERROR_ACCESS_DENIED;
+}
+
 static UINT MSI_EnumComponentQualifiers( LPCWSTR szComponent, DWORD iIndex,
                 awstring *lpQualBuf, LPDWORD pcchQual,
                 awstring *lpAppBuf, LPDWORD pcchAppBuf )
diff --git a/include/msi.h b/include/msi.h
index 033ed90..16189b0 100644
--- a/include/msi.h
+++ b/include/msi.h
@@ -463,6 +463,10 @@ UINT WINAPI MsiEnumClientsA(LPCSTR, DWORD, LPSTR);
 UINT WINAPI MsiEnumClientsW(LPCWSTR, DWORD, LPWSTR);
 #define     MsiEnumClients WINELIB_NAME_AW(MsiEnumClients)
 
+UINT WINAPI MsiEnumClientsExA(LPCSTR, LPCSTR, DWORD, DWORD, CHAR*, MSIINSTALLCONTEXT*, LPSTR, LPDWORD);
+UINT WINAPI MsiEnumClientsExW(LPCWSTR, LPCWSTR, DWORD, DWORD, WCHAR*, MSIINSTALLCONTEXT*, LPWSTR, LPDWORD);
+#define     MsiEnumClientsEx WINELIB_NAME_AW(MsiEnumClientsEx)
+
 UINT WINAPI MsiOpenPackageA(LPCSTR, MSIHANDLE*);
 UINT WINAPI MsiOpenPackageW(LPCWSTR, MSIHANDLE*);
 #define     MsiOpenPackage WINELIB_NAME_AW(MsiOpenPackage)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list