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
b79311b1
Commit
b79311b1
authored
Jan 14, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Create installer object initializing automation object data.
parent
9505a1bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
3 deletions
+22
-3
automation.c
dlls/msi/automation.c
+22
-3
No files found.
dlls/msi/automation.c
View file @
b79311b1
...
...
@@ -2410,10 +2410,29 @@ static HRESULT InstallerImpl_Invoke(
}
}
/* Wrapper around create_automation_object to create an installer object. */
HRESULT
create_msiserver
(
IUnknown
*
pOuter
,
LPVOID
*
ppObj
)
HRESULT
create_msiserver
(
IUnknown
*
outer
,
void
**
ppObj
)
{
return
create_automation_object
(
0
,
pOuter
,
ppObj
,
&
DIID_Installer
,
InstallerImpl_Invoke
,
NULL
,
0
);
AutomationObject
*
installer
;
HRESULT
hr
;
TRACE
(
"(%p %p)
\n
"
,
outer
,
ppObj
);
if
(
outer
)
return
CLASS_E_NOAGGREGATION
;
installer
=
msi_alloc
(
sizeof
(
AutomationObject
));
if
(
!
installer
)
return
E_OUTOFMEMORY
;
hr
=
init_automation_object
(
installer
,
0
,
&
DIID_Installer
,
InstallerImpl_Invoke
,
NULL
);
if
(
hr
!=
S_OK
)
{
msi_free
(
installer
);
return
hr
;
}
*
ppObj
=
&
installer
->
IDispatch_iface
;
return
hr
;
}
HRESULT
create_session
(
MSIHANDLE
msiHandle
,
IDispatch
*
installer
,
IDispatch
**
disp
)
...
...
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