Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
00327065
Commit
00327065
authored
Sep 02, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Add stub implementations of MsiBeginTransaction and MsiEndTransaction.
parent
1435ba67
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
3 deletions
+50
-3
msi.c
dlls/msi/msi.c
+41
-0
msi.spec
dlls/msi/msi.spec
+3
-3
msi.h
include/msi.h
+6
-0
No files found.
dlls/msi/msi.c
View file @
00327065
...
...
@@ -3779,3 +3779,44 @@ UINT WINAPI MsiInstallMissingComponentW(LPCWSTR szProduct, LPCWSTR szComponent,
FIXME
(
"(%s %s %d
\n
"
,
debugstr_w
(
szProduct
),
debugstr_w
(
szComponent
),
eInstallState
);
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
;
}
dlls/msi/msi.spec
View file @
00327065
...
...
@@ -277,9 +277,9 @@
281 stdcall MsiSetExternalUIRecord(ptr long ptr ptr)
282 stub MsiGetPatchFileListA
283 stub MsiGetPatchFileListW
284 st
ub MsiBeginTransactionA
285 st
ub MsiBeginTransactionW
286 st
ub MsiEndTransaction
284 st
dcall MsiBeginTransactionA(str long ptr ptr)
285 st
dcall MsiBeginTransactionW(wstr long ptr ptr)
286 st
dcall MsiEndTransaction(long)
287 stub MsiJoinTransaction
288 stub MsiSetOfflineContextW
289 stub MsiEnumComponentsExA
...
...
include/msi.h
View file @
00327065
...
...
@@ -663,6 +663,12 @@ UINT WINAPI MsiApplyMultiplePatchesA(LPCSTR, LPCSTR, LPCSTR);
UINT
WINAPI
MsiApplyMultiplePatchesW
(
LPCWSTR
,
LPCWSTR
,
LPCWSTR
);
#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 */
UINT
WINAPI
MsiCloseHandle
(
MSIHANDLE
);
UINT
WINAPI
MsiCloseAllHandles
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment