Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
cb580101
Commit
cb580101
authored
Dec 15, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Use an iface instead of a vtbl pointer in msi_custom_remote_impl.
parent
09019ba7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
custom.c
dlls/msi/custom.c
+6
-6
No files found.
dlls/msi/custom.c
View file @
cb580101
...
...
@@ -1456,13 +1456,13 @@ void ACTION_FinishCustomActions(const MSIPACKAGE* package)
}
typedef
struct
_msi_custom_remote_impl
{
const
IWineMsiRemoteCustomActionVtbl
*
lpVtbl
;
IWineMsiRemoteCustomAction
IWineMsiRemoteCustomAction_iface
;
LONG
refs
;
}
msi_custom_remote_impl
;
static
inline
msi_custom_remote_impl
*
mcr_from_IWineMsiRemoteCustomAction
(
IWineMsiRemoteCustomAction
*
iface
)
static
inline
msi_custom_remote_impl
*
impl_from_IWineMsiRemoteCustomAction
(
IWineMsiRemoteCustomAction
*
iface
)
{
return
(
msi_custom_remote_impl
*
)
iface
;
return
CONTAINING_RECORD
(
iface
,
msi_custom_remote_impl
,
IWineMsiRemoteCustomAction_iface
)
;
}
static
HRESULT
WINAPI
mcr_QueryInterface
(
IWineMsiRemoteCustomAction
*
iface
,
...
...
@@ -1481,14 +1481,14 @@ static HRESULT WINAPI mcr_QueryInterface( IWineMsiRemoteCustomAction *iface,
static
ULONG
WINAPI
mcr_AddRef
(
IWineMsiRemoteCustomAction
*
iface
)
{
msi_custom_remote_impl
*
This
=
mcr
_from_IWineMsiRemoteCustomAction
(
iface
);
msi_custom_remote_impl
*
This
=
impl
_from_IWineMsiRemoteCustomAction
(
iface
);
return
InterlockedIncrement
(
&
This
->
refs
);
}
static
ULONG
WINAPI
mcr_Release
(
IWineMsiRemoteCustomAction
*
iface
)
{
msi_custom_remote_impl
*
This
=
mcr
_from_IWineMsiRemoteCustomAction
(
iface
);
msi_custom_remote_impl
*
This
=
impl
_from_IWineMsiRemoteCustomAction
(
iface
);
ULONG
r
;
r
=
InterlockedDecrement
(
&
This
->
refs
);
...
...
@@ -1531,7 +1531,7 @@ HRESULT create_msi_custom_remote( IUnknown *pOuter, LPVOID *ppObj )
if
(
!
This
)
return
E_OUTOFMEMORY
;
This
->
lpVtbl
=
&
msi_custom_remote_vtbl
;
This
->
IWineMsiRemoteCustomAction_iface
.
lpVtbl
=
&
msi_custom_remote_vtbl
;
This
->
refs
=
1
;
*
ppObj
=
This
;
...
...
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