msi: Add stub implementations of MsiBeginTransaction and MsiEndTransaction.
This commit is contained in:
parent
1435ba6766
commit
0032706564
|
@ -3779,3 +3779,44 @@ UINT WINAPI MsiInstallMissingComponentW(LPCWSTR szProduct, LPCWSTR szComponent,
|
||||||
FIXME("(%s %s %d\n", debugstr_w(szProduct), debugstr_w(szComponent), eInstallState);
|
FIXME("(%s %s %d\n", debugstr_w(szProduct), debugstr_w(szComponent), eInstallState);
|
||||||
return ERROR_SUCCESS;
|
return ERROR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* MsiBeginTransactionA [MSI.@]
|
||||||
|
*/
|
||||||
|
UINT WINAPI MsiBeginTransactionA( LPCSTR name, DWORD attrs, MSIHANDLE *id, HANDLE *event )
|
||||||
|
{
|
||||||
|
WCHAR *nameW;
|
||||||
|
UINT r;
|
||||||
|
|
||||||
|
FIXME("%s %u %p %p\n", debugstr_a(name), attrs, id, event);
|
||||||
|
|
||||||
|
nameW = strdupAtoW( name );
|
||||||
|
if (name && !nameW)
|
||||||
|
return ERROR_OUTOFMEMORY;
|
||||||
|
|
||||||
|
r = MsiBeginTransactionW( nameW, attrs, id, event );
|
||||||
|
msi_free( nameW );
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* MsiBeginTransactionW [MSI.@]
|
||||||
|
*/
|
||||||
|
UINT WINAPI MsiBeginTransactionW( LPCWSTR name, DWORD attrs, MSIHANDLE *id, HANDLE *event )
|
||||||
|
{
|
||||||
|
FIXME("%s %u %p %p\n", debugstr_w(name), attrs, id, event);
|
||||||
|
|
||||||
|
*id = (MSIHANDLE)0xdeadbeef;
|
||||||
|
*event = (HANDLE)0xdeadbeef;
|
||||||
|
|
||||||
|
return ERROR_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* MsiEndTransaction [MSI.@]
|
||||||
|
*/
|
||||||
|
UINT WINAPI MsiEndTransaction( DWORD state )
|
||||||
|
{
|
||||||
|
FIXME("%u\n", state);
|
||||||
|
return ERROR_SUCCESS;
|
||||||
|
}
|
||||||
|
|
|
@ -277,9 +277,9 @@
|
||||||
281 stdcall MsiSetExternalUIRecord(ptr long ptr ptr)
|
281 stdcall MsiSetExternalUIRecord(ptr long ptr ptr)
|
||||||
282 stub MsiGetPatchFileListA
|
282 stub MsiGetPatchFileListA
|
||||||
283 stub MsiGetPatchFileListW
|
283 stub MsiGetPatchFileListW
|
||||||
284 stub MsiBeginTransactionA
|
284 stdcall MsiBeginTransactionA(str long ptr ptr)
|
||||||
285 stub MsiBeginTransactionW
|
285 stdcall MsiBeginTransactionW(wstr long ptr ptr)
|
||||||
286 stub MsiEndTransaction
|
286 stdcall MsiEndTransaction(long)
|
||||||
287 stub MsiJoinTransaction
|
287 stub MsiJoinTransaction
|
||||||
288 stub MsiSetOfflineContextW
|
288 stub MsiSetOfflineContextW
|
||||||
289 stub MsiEnumComponentsExA
|
289 stub MsiEnumComponentsExA
|
||||||
|
|
|
@ -663,6 +663,12 @@ UINT WINAPI MsiApplyMultiplePatchesA(LPCSTR, LPCSTR, LPCSTR);
|
||||||
UINT WINAPI MsiApplyMultiplePatchesW(LPCWSTR, LPCWSTR, LPCWSTR);
|
UINT WINAPI MsiApplyMultiplePatchesW(LPCWSTR, LPCWSTR, LPCWSTR);
|
||||||
#define MsiApplyMultiplePatches WINELIB_NAME_AW(MsiApplyMultiplePatches)
|
#define MsiApplyMultiplePatches WINELIB_NAME_AW(MsiApplyMultiplePatches)
|
||||||
|
|
||||||
|
UINT WINAPI MsiBeginTransactionA(LPCSTR, DWORD, MSIHANDLE *, HANDLE *);
|
||||||
|
UINT WINAPI MsiBeginTransactionW(LPCWSTR, DWORD, MSIHANDLE *, HANDLE *);
|
||||||
|
#define MsiBeginTransaction WINELIB_NAME_AW(MsiBeginTransaction)
|
||||||
|
|
||||||
|
UINT WINAPI MsiEndTransaction(DWORD);
|
||||||
|
|
||||||
/* Non Unicode */
|
/* Non Unicode */
|
||||||
UINT WINAPI MsiCloseHandle(MSIHANDLE);
|
UINT WINAPI MsiCloseHandle(MSIHANDLE);
|
||||||
UINT WINAPI MsiCloseAllHandles(void);
|
UINT WINAPI MsiCloseAllHandles(void);
|
||||||
|
|
Loading…
Reference in New Issue