msi: Add stubs for MsiEnumClientsExA/W.

This commit is contained in:
Austin English 2015-02-03 22:56:29 -06:00 committed by Alexandre Julliard
parent d2d2d60800
commit f8089da4b3
3 changed files with 24 additions and 2 deletions

View File

@ -284,8 +284,8 @@
288 stub MsiSetOfflineContextW 288 stub MsiSetOfflineContextW
289 stdcall MsiEnumComponentsExA(str long long ptr ptr ptr ptr) 289 stdcall MsiEnumComponentsExA(str long long ptr ptr ptr ptr)
290 stdcall MsiEnumComponentsExW(wstr long long ptr ptr ptr ptr) 290 stdcall MsiEnumComponentsExW(wstr long long ptr ptr ptr ptr)
291 stub MsiEnumClientsExA 291 stdcall MsiEnumClientsExA(str str long long ptr ptr ptr ptr)
292 stub MsiEnumClientsExW 292 stdcall MsiEnumClientsExW(wstr wstr long long ptr ptr ptr ptr)
293 stub MsiGetComponentPathExA 293 stub MsiGetComponentPathExA
294 stub MsiGetComponentPathExW 294 stub MsiGetComponentPathExW
295 stub QueryInstanceCount 295 stub QueryInstanceCount

View File

@ -1503,6 +1503,24 @@ UINT WINAPI MsiEnumClientsW(LPCWSTR szComponent, DWORD index, LPWSTR szProduct)
return r; 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, static UINT MSI_EnumComponentQualifiers( LPCWSTR szComponent, DWORD iIndex,
awstring *lpQualBuf, LPDWORD pcchQual, awstring *lpQualBuf, LPDWORD pcchQual,
awstring *lpAppBuf, LPDWORD pcchAppBuf ) awstring *lpAppBuf, LPDWORD pcchAppBuf )

View File

@ -463,6 +463,10 @@ UINT WINAPI MsiEnumClientsA(LPCSTR, DWORD, LPSTR);
UINT WINAPI MsiEnumClientsW(LPCWSTR, DWORD, LPWSTR); UINT WINAPI MsiEnumClientsW(LPCWSTR, DWORD, LPWSTR);
#define MsiEnumClients WINELIB_NAME_AW(MsiEnumClients) #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 MsiOpenPackageA(LPCSTR, MSIHANDLE*);
UINT WINAPI MsiOpenPackageW(LPCWSTR, MSIHANDLE*); UINT WINAPI MsiOpenPackageW(LPCWSTR, MSIHANDLE*);
#define MsiOpenPackage WINELIB_NAME_AW(MsiOpenPackage) #define MsiOpenPackage WINELIB_NAME_AW(MsiOpenPackage)