From 37286473a05fb9e35f1ff5e785b675764d10e966 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Sun, 29 Jul 2007 21:29:21 -0700 Subject: [PATCH] msi: Add a stub implementation of MsiSourceListEnumSourcesA. --- dlls/msi/msi.spec | 2 +- dlls/msi/source.c | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec index 6aa8957d5fe..39908498db0 100644 --- a/dlls/msi/msi.spec +++ b/dlls/msi/msi.spec @@ -256,7 +256,7 @@ 260 stub MsiSourceListClearAllExW 261 stub MsiSourceListForceResolutionExA 262 stub MsiSourceListForceResolutionExW -263 stub MsiSourceListEnumSourcesA +263 stdcall MsiSourceListEnumSourcesA(str str long long long ptr ptr) 264 stub MsiSourceListEnumSourcesW 265 stdcall MsiSourceListGetInfoA(str str long long str ptr ptr) 266 stub MsiSourceListGetInfoW diff --git a/dlls/msi/source.c b/dlls/msi/source.c index 975b0f27bc5..69f10f31f39 100644 --- a/dlls/msi/source.c +++ b/dlls/msi/source.c @@ -168,6 +168,19 @@ static UINT find_given_source(HKEY key, LPCWSTR szSource, media_info *ss) return rc; } +/****************************************************************** + * MsiSourceListEnumSourcesA (MSI.@) + */ +UINT WINAPI MsiSourceListEnumSourcesA(LPCSTR szProductCodeOrPatch, LPCSTR szUserSid, + MSIINSTALLCONTEXT dwContext, + DWORD dwOptions, DWORD dwIndex, + LPSTR szSource, LPDWORD pcchSource) +{ + FIXME("(%s, %s, %d, %d, %d, %p, %p): stub!\n", szProductCodeOrPatch, szUserSid, + dwContext, dwOptions, dwIndex, szSource, pcchSource); + return ERROR_CALL_NOT_IMPLEMENTED; +} + /****************************************************************** * MsiSourceListGetInfoA (MSI.@) */