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
4a5a90b0
Commit
4a5a90b0
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/tests: automation: Session::Installer conformance test.
parent
144ef422
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
automation.c
dlls/msi/tests/automation.c
+20
-1
No files found.
dlls/msi/tests/automation.c
View file @
4a5a90b0
...
...
@@ -546,6 +546,17 @@ static HRESULT Installer_VersionGet(LPCWSTR szVersion)
return
hr
;
}
static
HRESULT
Session_Installer
(
IDispatch
*
pSession
,
IDispatch
**
pInst
)
{
VARIANT
varresult
;
DISPPARAMS
dispparams
=
{
NULL
,
NULL
,
0
,
0
};
HRESULT
hr
;
hr
=
invoke
(
pSession
,
"Installer"
,
DISPATCH_PROPERTYGET
,
&
dispparams
,
&
varresult
,
VT_DISPATCH
);
*
pInst
=
V_DISPATCH
(
&
varresult
);
return
hr
;
}
static
HRESULT
Session_PropertyGet
(
IDispatch
*
pSession
,
LPCWSTR
szName
,
LPCWSTR
szReturn
)
{
VARIANT
varresult
;
...
...
@@ -893,9 +904,17 @@ static void test_Session(IDispatch *pSession)
UINT
len
;
BOOL
bool
;
int
myint
;
IDispatch
*
pDatabase
=
NULL
;
IDispatch
*
pDatabase
=
NULL
,
*
pInst
=
NULL
;
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
"
);
}
/* Session::Property, get */
memset
(
stringw
,
0
,
sizeof
(
stringw
));
hr
=
Session_PropertyGet
(
pSession
,
szProductName
,
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