Austin English : msi: Add stubs for MsiEnumClientsExA/W.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 4 10:51:16 CST 2015


Module: wine
Branch: master
Commit: f8089da4b3c3715530b4dd2662a433bc17ab0267
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=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)




More information about the wine-cvs mailing list