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
c7e7f36e
Commit
c7e7f36e
authored
May 04, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
May 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: automation: Implement Session::Installer.
parent
8ba0b3c7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
6 deletions
+15
-6
automation.c
dlls/msi/automation.c
+8
-0
msiserver.idl
dlls/msi/msiserver.idl
+2
-0
msiserver_dispids.h
dlls/msi/msiserver_dispids.h
+1
-0
automation.c
dlls/msi/tests/automation.c
+4
-6
No files found.
dlls/msi/automation.c
View file @
c7e7f36e
...
...
@@ -686,6 +686,14 @@ static HRESULT WINAPI SessionImpl_Invoke(
switch
(
dispIdMember
)
{
case
DISPID_SESSION_INSTALLER
:
if
(
wFlags
&
DISPATCH_PROPERTYGET
)
{
V_VT
(
pVarResult
)
=
VT_DISPATCH
;
IDispatch_AddRef
(
This
->
pInstaller
);
V_DISPATCH
(
pVarResult
)
=
This
->
pInstaller
;
}
break
;
case
DISPID_SESSION_PROPERTY
:
if
(
wFlags
&
DISPATCH_PROPERTYGET
)
{
hr
=
DispGetParam
(
pDispParams
,
0
,
VT_BSTR
,
&
varg0
,
puArgErr
);
...
...
dlls/msi/msiserver.idl
View file @
c7e7f36e
...
...
@@ -163,6 +163,8 @@ library WindowsInstaller
{
properties
:
methods
:
[
id
(
DISPID_SESSION_INSTALLER
),
propget
]
Installer
*
Installer
()
;
[
id
(
DISPID_SESSION_PROPERTY
),
propget
]
BSTR
Property
(
[
in
]
BSTR
PropertyName
)
;
[
id
(
DISPID_SESSION_PROPERTY
),
propput
]
...
...
dlls/msi/msiserver_dispids.h
View file @
c7e7f36e
...
...
@@ -26,6 +26,7 @@
#define DISPID_DATABASE_OPENVIEW 3
#define DISPID_SESSION_INSTALLER 1
#define DISPID_SESSION_PROPERTY 2
#define DISPID_SESSION_LANGUAGE 3
#define DISPID_SESSION_MODE 4
...
...
dlls/msi/tests/automation.c
View file @
c7e7f36e
...
...
@@ -908,12 +908,10 @@ static void test_Session(IDispatch *pSession)
HRESULT
hr
;
/* Session::Installer */
todo_wine
{
hr
=
Session_Installer
(
pSession
,
&
pInst
);
ok
(
SUCCEEDED
(
hr
),
"Session_Installer failed, hresult 0x%08x
\n
"
,
hr
);
ok
(
pInst
!=
NULL
,
"Session_Installer returned NULL IDispatch pointer
\n
"
);
ok
(
pInst
==
pInstaller
,
"Session_Installer does not match Installer instance from CoCreateInstance
\n
"
);
}
hr
=
Session_Installer
(
pSession
,
&
pInst
);
ok
(
SUCCEEDED
(
hr
),
"Session_Installer failed, hresult 0x%08x
\n
"
,
hr
);
ok
(
pInst
!=
NULL
,
"Session_Installer returned NULL IDispatch pointer
\n
"
);
ok
(
pInst
==
pInstaller
,
"Session_Installer does not match Installer instance from CoCreateInstance
\n
"
);
/* Session::Property, get */
memset
(
stringw
,
0
,
sizeof
(
stringw
));
...
...
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