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
6a588baa
Commit
6a588baa
authored
Jul 27, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Use inline wrappers for calling COM methods.
parent
108d5927
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
Makefile.in
dlls/msi/Makefile.in
+1
-0
automation.c
dlls/msi/automation.c
+1
-2
custom.c
dlls/msi/custom.c
+1
-1
database.c
dlls/msi/database.c
+4
-4
package.c
dlls/msi/package.c
+1
-1
script.c
dlls/msi/script.c
+1
-1
No files found.
dlls/msi/Makefile.in
View file @
6a588baa
...
...
@@ -2,6 +2,7 @@ MODULE = msi.dll
IMPORTLIB
=
msi
IMPORTS
=
uuid urlmon wininet comctl32 shell32 shlwapi cabinet oleaut32 ole32 version user32 gdi32 advapi32
DELAYIMPORTS
=
odbccp32 wintrust crypt32 imagehlp
EXTRADEFS
=
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
action.c
\
...
...
dlls/msi/automation.c
View file @
6a588baa
...
...
@@ -609,8 +609,7 @@ static HRESULT WINAPI ListEnumerator_Clone(IEnumVARIANT* iface, IEnumVARIANT **p
hr
=
create_list_enumerator
(
This
->
list
,
(
LPVOID
*
)
ppEnum
);
if
(
FAILED
(
hr
))
{
if
(
*
ppEnum
)
IUnknown_Release
(
*
ppEnum
);
if
(
*
ppEnum
)
IEnumVARIANT_Release
(
*
ppEnum
);
return
hr
;
}
...
...
dlls/msi/custom.c
View file @
6a588baa
...
...
@@ -1439,7 +1439,7 @@ static HRESULT WINAPI mcr_QueryInterface( IWineMsiRemoteCustomAction *iface,
if
(
IsEqualCLSID
(
riid
,
&
IID_IUnknown
)
||
IsEqualCLSID
(
riid
,
&
IID_IWineMsiRemoteCustomAction
)
)
{
I
Unknow
n_AddRef
(
iface
);
I
WineMsiRemoteCustomActio
n_AddRef
(
iface
);
*
ppobj
=
iface
;
return
S_OK
;
}
...
...
dlls/msi/database.c
View file @
6a588baa
...
...
@@ -164,7 +164,7 @@ UINT msi_get_raw_stream( MSIDATABASE *db, LPCWSTR stname, IStream **stm )
if
(
!
(
stream
=
msi_alloc
(
sizeof
(
MSISTREAM
)
)))
return
ERROR_NOT_ENOUGH_MEMORY
;
stream
->
stg
=
stg
;
ISt
ream
_AddRef
(
stg
);
ISt
orage
_AddRef
(
stg
);
stream
->
stm
=
*
stm
;
IStream_AddRef
(
*
stm
);
list_add_tail
(
&
db
->
streams
,
&
stream
->
entry
);
...
...
@@ -207,7 +207,7 @@ void msi_destroy_stream( MSIDATABASE *db, const WCHAR *stname )
list_remove
(
&
stream
->
entry
);
IStream_Release
(
stream
->
stm
);
ISt
ream
_Release
(
stream
->
stg
);
ISt
orage
_Release
(
stream
->
stg
);
IStorage_DestroyElement
(
stream
->
stg
,
stname
);
msi_free
(
stream
);
CoTaskMemFree
(
stat
.
pwcsName
);
...
...
@@ -224,7 +224,7 @@ static void free_streams( MSIDATABASE *db )
MSISTREAM
*
s
=
LIST_ENTRY
(
list_head
(
&
db
->
streams
),
MSISTREAM
,
entry
);
list_remove
(
&
s
->
entry
);
IStream_Release
(
s
->
stm
);
ISt
ream
_Release
(
s
->
stg
);
ISt
orage
_Release
(
s
->
stg
);
msi_free
(
s
);
}
}
...
...
@@ -2082,7 +2082,7 @@ static HRESULT WINAPI mrd_QueryInterface( IWineMsiRemoteDatabase *iface,
if
(
IsEqualCLSID
(
riid
,
&
IID_IUnknown
)
||
IsEqualCLSID
(
riid
,
&
IID_IWineMsiRemoteDatabase
)
)
{
I
Unknown
_AddRef
(
iface
);
I
WineMsiRemoteDatabase
_AddRef
(
iface
);
*
ppobj
=
iface
;
return
S_OK
;
}
...
...
dlls/msi/package.c
View file @
6a588baa
...
...
@@ -2361,7 +2361,7 @@ static HRESULT WINAPI mrp_QueryInterface( IWineMsiRemotePackage *iface,
if
(
IsEqualCLSID
(
riid
,
&
IID_IUnknown
)
||
IsEqualCLSID
(
riid
,
&
IID_IWineMsiRemotePackage
)
)
{
I
Unknown
_AddRef
(
iface
);
I
WineMsiRemotePackage
_AddRef
(
iface
);
*
ppobj
=
iface
;
return
S_OK
;
}
...
...
dlls/msi/script.c
View file @
6a588baa
...
...
@@ -219,7 +219,7 @@ static HRESULT WINAPI MsiActiveScriptSite_QueryInterface(IActiveScriptSite* ifac
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IActiveScriptSite
))
{
I
ClassFactory
_AddRef
(
iface
);
I
ActiveScriptSite
_AddRef
(
iface
);
*
ppvObject
=
This
;
return
S_OK
;
}
...
...
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