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
ece85e0c
Commit
ece85e0c
authored
Apr 28, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
Apr 28, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement MsiQueryFeatureStateW.
parent
d3a195a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
5 deletions
+21
-5
msi.c
dlls/msi/msi.c
+21
-5
No files found.
dlls/msi/msi.c
View file @
ece85e0c
...
...
@@ -1065,14 +1065,30 @@ INSTALLSTATE WINAPI MsiQueryFeatureStateA(LPCSTR szProduct, LPCSTR szFeature)
/******************************************************************
* MsiQueryFeatureStateW [MSI.@]
*
* This does not verify that the Feature is functional. So i am only going to
* check the existence of the key in the registry. This should tell me if it is
* installed.
*/
INSTALLSTATE
WINAPI
MsiQueryFeatureStateW
(
LPCWSTR
szProduct
,
LPCWSTR
szFeature
)
{
FIXME
(
"%s %s
\n
"
,
debugstr_w
(
szProduct
),
debugstr_w
(
szFeature
));
/*
* Iterates all the features components and the features parents components
*/
return
INSTALLSTATE_LOCAL
;
UINT
rc
;
DWORD
sz
=
0
;
HKEY
hkey
;
TRACE
(
"%s %s
\n
"
,
debugstr_w
(
szProduct
),
debugstr_w
(
szFeature
));
rc
=
MSIREG_OpenFeaturesKey
(
szProduct
,
&
hkey
,
FALSE
);
if
(
rc
!=
ERROR_SUCCESS
)
return
INSTALLSTATE_UNKNOWN
;
rc
=
RegQueryValueExW
(
hkey
,
szFeature
,
NULL
,
NULL
,
NULL
,
&
sz
);
RegCloseKey
(
hkey
);
if
(
rc
==
ERROR_SUCCESS
)
return
INSTALLSTATE_LOCAL
;
else
return
INSTALLSTATE_ABSENT
;
}
/******************************************************************
...
...
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