msi: Implement MsiSourceListAddSourceExA.

oldstable
James Hawkins 2007-11-05 04:12:56 -05:00 committed by Alexandre Julliard
parent 405d0be4f7
commit 44e1c7d79b
2 changed files with 24 additions and 1 deletions

View File

@ -248,7 +248,7 @@
252 stub MsiQueryFeatureStateExW
253 stub MsiDeterminePatchSequenceA
254 stub MsiDeterminePatchSequenceW
255 stub MsiSourceListAddSourceExA
255 stdcall MsiSourceListAddSourceExA(str str long long str long)
256 stdcall MsiSourceListAddSourceExW(wstr wstr long long wstr long)
257 stub MsiSourceListClearSourceA
258 stub MsiSourceListClearSourceW

View File

@ -555,6 +555,29 @@ UINT WINAPI MsiSourceListAddSourceA( LPCSTR szProduct, LPCSTR szUserName,
return ret;
}
/******************************************************************
* MsiSourceListAddSourceExA (MSI.@)
*/
UINT WINAPI MsiSourceListAddSourceExA(LPCSTR szProduct, LPCSTR szUserSid,
MSIINSTALLCONTEXT dwContext, DWORD dwOptions, LPCSTR szSource, DWORD dwIndex)
{
UINT ret;
LPWSTR product, usersid, source;
product = strdupAtoW(szProduct);
usersid = strdupAtoW(szUserSid);
source = strdupAtoW(szSource);
ret = MsiSourceListAddSourceExW(product, usersid, dwContext,
dwOptions, source, dwIndex);
msi_free(product);
msi_free(usersid);
msi_free(source);
return ret;
}
/******************************************************************
* MsiSourceListAddSourceExW (MSI.@)
*/