msi: add stubs for MsiEnumClientsExA/W
Austin English
austinenglish at gmail.com
Tue Feb 3 22:56:29 CST 2015
For https://bugs.winehq.org/show_bug.cgi?id=30344
--
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150203/f466f937/attachment.html>
-------------- next part --------------
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-patches
mailing list